summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usr.bin/openssl/x509.c4
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) {