From 0758ab5ea778e4ba36d2150af1bba602a48d6467 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Wed, 11 Jul 2012 23:31:36 +0000 Subject: Import OpenSSL 1.0.1c. Approved by: benl (maintainer) --- crypto/dsa/dsatest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crypto/dsa/dsatest.c') diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c index 912317bb443c6..edffd24e6ba24 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -169,7 +169,6 @@ int main(int argc, char **argv) } BIO_printf(bio_err,"\ncounter=%d h=%ld\n",counter,h); - if (dsa == NULL) goto end; DSA_print(bio_err,dsa,0); if (counter != 105) { @@ -223,7 +222,7 @@ end: ERR_print_errors(bio_err); if (dsa != NULL) DSA_free(dsa); CRYPTO_cleanup_all_ex_data(); - ERR_remove_state(0); + ERR_remove_thread_state(NULL); ERR_free_strings(); CRYPTO_mem_leaks(bio_err); if (bio_err != NULL) -- cgit v1.2.3