From ab2cf38e6b2b6b7bd3289ac5cad22aa89d748bd6 Mon Sep 17 00:00:00 2001 From: jsing Date: Sat, 11 Apr 2015 15:41:57 +0000 Subject: [PATCH] Put back a goto end that was unintentionally removed. Spotted by doug@ --- usr.bin/openssl/pkeyparam.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.20.1