projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call of memcmp with null pointers in obj_cmp()
[oweals/openssl.git]
/
test
/
dsatest.c
diff --git
a/test/dsatest.c
b/test/dsatest.c
index a5d40f1eb605a970c6cb7072fca0b371c29744dd..e138c641474a39b4de6bfd317d1784114436e1b1 100644
(file)
--- 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();