commit | d64070838ebba86f00fb3755df5d3e65106e1628 | [log] [tgz] |
---|---|---|
author | Rich Salz <rsalz@akamai.com> | Tue Mar 24 10:17:37 2015 -0400 |
committer | Rich Salz <rsalz@akamai.com> | Tue Mar 24 23:17:16 2015 -0400 |
tree | def90b3063d9ebe0f53920604d02b9786216e327 | |
parent | 1300705a47b9c9498b15a384c6c5348adc342e2c [diff] [blame] |
free NULL cleanup Start ensuring all OpenSSL "free" routines allow NULL, and remove any if check before calling them. This gets DH_free, DSA_free, RSA_free Reviewed-by: Matt Caswell <matt@openssl.org>
diff --git a/apps/gendsa.c b/apps/gendsa.c index fd1360a..d330a01 100644 --- a/apps/gendsa.c +++ b/apps/gendsa.c
@@ -271,8 +271,7 @@ BIO_free(in); if (out != NULL) BIO_free_all(out); - if (dsa != NULL) - DSA_free(dsa); + DSA_free(dsa); if (passout) OPENSSL_free(passout); apps_shutdown();