summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-04-11 15:41:57 +0000
committerjsing <jsing@openbsd.org>2015-04-11 15:41:57 +0000
commitab2cf38e6b2b6b7bd3289ac5cad22aa89d748bd6 (patch)
tree00b4e9d5df769264fa0ba6687370261d04e2825a
parentConvert openssl(1) pkeyparam to new option handling. (diff)
downloadwireguard-openbsd-ab2cf38e6b2b6b7bd3289ac5cad22aa89d748bd6.tar.xz
wireguard-openbsd-ab2cf38e6b2b6b7bd3289ac5cad22aa89d748bd6.zip
Put back a goto end that was unintentionally removed.
Spotted by doug@
-rw-r--r--usr.bin/openssl/pkeyparam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/openssl/pkeyparam.c b/usr.bin/openssl/pkeyparam.c
index 25213628047..b4369298a88 100644
--- a/usr.bin/openssl/pkeyparam.c
+++ b/usr.bin/openssl/pkeyparam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pkeyparam.c,v 1.4 2015/04/11 15:21:42 jsing Exp $ */
+/* $OpenBSD: pkeyparam.c,v 1.5 2015/04/11 15:41:57 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
@@ -147,6 +147,7 @@ pkeyparam_main(int argc, char **argv)
if (!(in = BIO_new_file(pkeyparam_config.infile, "r"))) {
BIO_printf(bio_err, "Can't open input file %s\n",
pkeyparam_config.infile);
+ goto end;
}
} else
in = BIO_new_fp(stdin, BIO_NOCLOSE);