diff options
author | 2015-04-11 15:41:57 +0000 | |
---|---|---|
committer | 2015-04-11 15:41:57 +0000 | |
commit | ab2cf38e6b2b6b7bd3289ac5cad22aa89d748bd6 (patch) | |
tree | 00b4e9d5df769264fa0ba6687370261d04e2825a | |
parent | Convert openssl(1) pkeyparam to new option handling. (diff) | |
download | wireguard-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.c | 3 |
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); |