diff options
| author | jsing <> | 2015-09-30 17:30:16 +0000 |
|---|---|---|
| committer | jsing <> | 2015-09-30 17:30:16 +0000 |
| commit | 56c28c591a2d58b6dda7237a4962fc6f6b0eca75 (patch) | |
| tree | bd42964b2b7e65328abe72ae9a01fed5d43e31bd /src/lib/libcrypto/asn1/asn1_par.c | |
| parent | 602784526ade1e28b48ab336966cd6f166bd99da (diff) | |
| download | openbsd-56c28c591a2d58b6dda7237a4962fc6f6b0eca75.tar.gz openbsd-56c28c591a2d58b6dda7237a4962fc6f6b0eca75.tar.bz2 openbsd-56c28c591a2d58b6dda7237a4962fc6f6b0eca75.zip | |
Replace M_ASN1_INTEGER_(new|free) with ASN1_INTEGER_(new|free) - this is
different from the macro expansion, but the result is the same. Also
replace some ASN1_STRING_dup() with ASN1_INTEGER_dup().
ok beck@ doug@
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1_par.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/asn1_par.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_par.c b/src/lib/libcrypto/asn1/asn1_par.c index b5742fe97d..9057185e74 100644 --- a/src/lib/libcrypto/asn1/asn1_par.c +++ b/src/lib/libcrypto/asn1/asn1_par.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: asn1_par.c,v 1.22 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: asn1_par.c,v 1.23 2015/09/30 17:30:15 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -313,7 +313,7 @@ asn1_parse2(BIO *bp, const unsigned char **pp, long length, int offset, | |||
| 313 | if (BIO_write(bp, "BAD INTEGER", 11) <= 0) | 313 | if (BIO_write(bp, "BAD INTEGER", 11) <= 0) |
| 314 | goto end; | 314 | goto end; |
| 315 | } | 315 | } |
| 316 | M_ASN1_INTEGER_free(bs); | 316 | ASN1_INTEGER_free(bs); |
| 317 | } else if (tag == V_ASN1_ENUMERATED) { | 317 | } else if (tag == V_ASN1_ENUMERATED) { |
| 318 | ASN1_ENUMERATED *bs; | 318 | ASN1_ENUMERATED *bs; |
| 319 | int i; | 319 | int i; |
