diff options
author | 2015-09-30 17:04:09 +0000 | |
---|---|---|
committer | 2015-09-30 17:04:09 +0000 | |
commit | 6e345173bb0ac74367be9783b5048da4594bc366 (patch) | |
tree | 41e6b59dd7e4cb09a1d61ce7a04bd0694afb5785 /lib/libssl/src | |
parent | sync (diff) | |
download | wireguard-openbsd-6e345173bb0ac74367be9783b5048da4594bc366.tar.xz wireguard-openbsd-6e345173bb0ac74367be9783b5048da4594bc366.zip |
Remove unnecessary type assignments - M_ASN1_INTEGER_new() already sets
the type to V_ASN1_INTEGER.
ok doug@
Diffstat (limited to 'lib/libssl/src')
-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); |