From: jsing Date: Sat, 11 Apr 2015 15:41:57 +0000 (+0000) Subject: Put back a goto end that was unintentionally removed. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ab2cf38e6b2b6b7bd3289ac5cad22aa89d748bd6;p=openbsd Put back a goto end that was unintentionally removed. Spotted by doug@ --- 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);