summaryrefslogtreecommitdiff
path: root/usr.bin/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r--usr.bin/openssl/rsautl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/openssl/rsautl.c b/usr.bin/openssl/rsautl.c
index 8ce3c0e27c7..d8e56a732d6 100644
--- a/usr.bin/openssl/rsautl.c
+++ b/usr.bin/openssl/rsautl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsautl.c,v 1.4 2015/01/03 03:03:39 lteo Exp $ */
+/* $OpenBSD: rsautl.c,v 1.5 2015/07/19 03:14:09 doug Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -215,9 +215,9 @@ rsautl_main(int argc, char **argv)
break;
}
- if (!pkey) {
- return 1;
- }
+ if (!pkey)
+ goto end;
+
rsa = EVP_PKEY_get1_RSA(pkey);
EVP_PKEY_free(pkey);