diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-09-30 17:04:10 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-09-30 17:04:10 +0000 |
commit | bfcf3078d7e4b387952c774ae92ffe0e08bdec6b (patch) | |
tree | 0b7b8b6bb331c9292833441880eb0acb082a188a /lib/libssl | |
parent | 56a14c82be16677c775f2fa6d895d05e94310947 (diff) |
Remove unnecessary type assignments - M_ASN1_INTEGER_new() already sets
the type to V_ASN1_INTEGER.
ok doug@
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/src/crypto/asn1/a_int.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/src/crypto/asn1/a_int.c b/lib/libssl/src/crypto/asn1/a_int.c index 6a378c08849..cbe68ec6d8c 100644 --- a/lib/libssl/src/crypto/asn1/a_int.c +++ b/lib/libssl/src/crypto/asn1/a_int.c @@ -1,4 +1,4 @@ -/* $OpenBSD: a_int.c,v 1.28 2015/07/29 14:58:34 jsing Exp $ */ +/* $OpenBSD: a_int.c,v 1.29 2015/09/30 17:04:09 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -198,7 +198,6 @@ c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp, long len) if ((a == NULL) || ((*a) == NULL)) { if ((ret = M_ASN1_INTEGER_new()) == NULL) return (NULL); - ret->type = V_ASN1_INTEGER; } else ret = (*a); @@ -292,7 +291,6 @@ d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp, long length) if ((a == NULL) || ((*a) == NULL)) { if ((ret = M_ASN1_INTEGER_new()) == NULL) return (NULL); - ret->type = V_ASN1_INTEGER; } else ret = (*a); |