diff options
Diffstat (limited to 'test/dsatest.c')
-rw-r--r-- | test/dsatest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dsatest.c b/test/dsatest.c index a5d40f1eb6..e138c64147 100644 --- a/test/dsatest.c +++ b/test/dsatest.c @@ -212,8 +212,7 @@ int main(int argc, char **argv) if (!ret) ERR_print_errors(bio_err); DSA_free(dsa); - if (cb != NULL) - BN_GENCB_free(cb); + BN_GENCB_free(cb); CRYPTO_cleanup_all_ex_data(); ERR_remove_thread_state(NULL); ERR_free_strings(); |