diff options
author | jsing <> | 2015-10-01 06:31:21 +0000 |
---|---|---|
committer | jsing <> | 2015-10-01 06:31:21 +0000 |
commit | fec109a7799bcc545d41998cd5dc75eeefaddedf (patch) | |
tree | 536b2b419bb8b4fc6db6215c81512295c05b49ec /src/usr.bin/openssl/x509.c | |
parent | 17fadf661d157ba2a756646f71fd03369db612f0 (diff) | |
download | openbsd-fec109a7799bcc545d41998cd5dc75eeefaddedf.tar.gz openbsd-fec109a7799bcc545d41998cd5dc75eeefaddedf.tar.bz2 openbsd-fec109a7799bcc545d41998cd5dc75eeefaddedf.zip |
Another s/M_ASN1_INTEGER_free/ASN1_INTEGER_free/.
Found the hard way by Mark Patruck.
Diffstat (limited to 'src/usr.bin/openssl/x509.c')
-rw-r--r-- | src/usr.bin/openssl/x509.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/x509.c b/src/usr.bin/openssl/x509.c index 8699e9eef0..ec592c29d7 100644 --- a/src/usr.bin/openssl/x509.c +++ b/src/usr.bin/openssl/x509.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509.c,v 1.8 2015/09/21 13:32:55 bcook Exp $ */ | 1 | /* $OpenBSD: x509.c,v 1.9 2015/10/01 06:31:21 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 | * |
@@ -295,7 +295,7 @@ x509_main(int argc, char **argv) | |||
295 | } else if (strcmp(*argv, "-set_serial") == 0) { | 295 | } else if (strcmp(*argv, "-set_serial") == 0) { |
296 | if (--argc < 1) | 296 | if (--argc < 1) |
297 | goto bad; | 297 | goto bad; |
298 | M_ASN1_INTEGER_free(sno); | 298 | ASN1_INTEGER_free(sno); |
299 | if (!(sno = s2i_ASN1_INTEGER(NULL, *(++argv)))) | 299 | if (!(sno = s2i_ASN1_INTEGER(NULL, *(++argv)))) |
300 | goto bad; | 300 | goto bad; |
301 | } else if (strcmp(*argv, "-addtrust") == 0) { | 301 | } else if (strcmp(*argv, "-addtrust") == 0) { |