diff options
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/gendsa.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/usr.bin/openssl/gendsa.c b/src/usr.bin/openssl/gendsa.c index 5aeb294e7f..1e6a6061e1 100644 --- a/src/usr.bin/openssl/gendsa.c +++ b/src/usr.bin/openssl/gendsa.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gendsa.c,v 1.8 2017/01/20 08:57:12 deraadt Exp $ */ | 1 | /* $OpenBSD: gendsa.c,v 1.9 2018/02/07 04:57:06 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -206,10 +206,8 @@ end: | |||
206 | if (ret != 0) | 206 | if (ret != 0) |
207 | ERR_print_errors(bio_err); | 207 | ERR_print_errors(bio_err); |
208 | BIO_free(in); | 208 | BIO_free(in); |
209 | if (out != NULL) | 209 | BIO_free_all(out); |
210 | BIO_free_all(out); | 210 | DSA_free(dsa); |
211 | if (dsa != NULL) | ||
212 | DSA_free(dsa); | ||
213 | free(passout); | 211 | free(passout); |
214 | 212 | ||
215 | return (ret); | 213 | return (ret); |