=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/x509.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- src/usr.bin/openssl/x509.c 2018/02/07 04:57:06 1.15 +++ src/usr.bin/openssl/x509.c 2018/02/07 05:47:55 1.16 @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.15 2018/02/07 04:57:06 jsing Exp $ */ +/* $OpenBSD: x509.c,v 1.16 2018/02/07 05:47:55 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -429,7 +429,7 @@ } if (badops) { -bad: + bad: for (pp = x509_usage; (*pp != NULL); pp++) BIO_printf(bio_err, "%s", *pp); goto end; @@ -905,7 +905,7 @@ } ret = 0; -end: + end: OBJ_cleanup(); NCONF_free(extconf); BIO_free_all(out); @@ -963,7 +963,7 @@ if (!save_serial(buf, NULL, serial, &bs)) goto end; -end: + end: free(buf); BN_free(serial); @@ -1036,7 +1036,7 @@ if (!do_X509_sign(bio_err, x, pkey, digest, sigopts)) goto end; ret = 1; -end: + end: X509_STORE_CTX_cleanup(&xsc); if (!ret) ERR_print_errors(bio_err); @@ -1122,7 +1122,7 @@ goto err; return 1; -err: + err: ERR_print_errors(bio_err); return 0; }