summaryrefslogtreecommitdiffstats
path: root/usr.bin/openssl/dsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/openssl/dsa.c')
-rw-r--r--usr.bin/openssl/dsa.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/openssl/dsa.c b/usr.bin/openssl/dsa.c
index 5e0301c7342..34b29eee3ea 100644
--- a/usr.bin/openssl/dsa.c
+++ b/usr.bin/openssl/dsa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa.c,v 1.9 2017/01/20 08:57:11 deraadt Exp $ */
+/* $OpenBSD: dsa.c,v 1.10 2018/02/07 04:57:06 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -362,10 +362,8 @@ dsa_main(int argc, char **argv)
ret = 0;
end:
BIO_free(in);
- if (out != NULL)
- BIO_free_all(out);
- if (dsa != NULL)
- DSA_free(dsa);
+ BIO_free_all(out);
+ DSA_free(dsa);
free(passin);
free(passout);