summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsatest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/dsa/dsatest.c')
-rw-r--r--src/lib/libcrypto/dsa/dsatest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dsa/dsatest.c b/src/lib/libcrypto/dsa/dsatest.c
index edffd24e6b..912317bb44 100644
--- a/src/lib/libcrypto/dsa/dsatest.c
+++ b/src/lib/libcrypto/dsa/dsatest.c
@@ -169,6 +169,7 @@ int main(int argc, char **argv)
169 } 169 }
170 BIO_printf(bio_err,"\ncounter=%d h=%ld\n",counter,h); 170 BIO_printf(bio_err,"\ncounter=%d h=%ld\n",counter,h);
171 171
172 if (dsa == NULL) goto end;
172 DSA_print(bio_err,dsa,0); 173 DSA_print(bio_err,dsa,0);
173 if (counter != 105) 174 if (counter != 105)
174 { 175 {
@@ -222,7 +223,7 @@ end:
222 ERR_print_errors(bio_err); 223 ERR_print_errors(bio_err);
223 if (dsa != NULL) DSA_free(dsa); 224 if (dsa != NULL) DSA_free(dsa);
224 CRYPTO_cleanup_all_ex_data(); 225 CRYPTO_cleanup_all_ex_data();
225 ERR_remove_thread_state(NULL); 226 ERR_remove_state(0);
226 ERR_free_strings(); 227 ERR_free_strings();
227 CRYPTO_mem_leaks(bio_err); 228 CRYPTO_mem_leaks(bio_err);
228 if (bio_err != NULL) 229 if (bio_err != NULL)