diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-05-07 18:54:01 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-05-23 13:37:02 +0100 |
commit | aca6dae94b5bb298b05081a876e30370d82e22b5 (patch) | |
tree | 3f9a20033ea8404d480f116051c7224a39edac92 /crypto/dsa | |
parent | 7d52e55457eb8e888c3441a5b1de328238a7d9fb (diff) | |
download | openssl-aca6dae94b5bb298b05081a876e30370d82e22b5.tar.gz |
Remove useless NULL checks
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/dsa')
-rw-r--r-- | crypto/dsa/dsa_meth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/dsa/dsa_meth.c b/crypto/dsa/dsa_meth.c index 5ce93396cf..1d27ceae1c 100644 --- a/crypto/dsa/dsa_meth.c +++ b/crypto/dsa/dsa_meth.c @@ -39,8 +39,7 @@ DSA_METHOD *DSA_meth_new(const char *name, int flags) void DSA_meth_free(DSA_METHOD *dsam) { if (dsam != NULL) { - if (dsam->name != NULL) - OPENSSL_free(dsam->name); + OPENSSL_free(dsam->name); OPENSSL_free(dsam); } } |