summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsatest.c
diff options
context:
space:
mode:
authordjm <>2010-10-01 22:54:18 +0000
committerdjm <>2010-10-01 22:54:18 +0000
commit75291ae343a87368ad49c13ac02f85a88159417f (patch)
treea55c90bd6ea9329d2afb5540220340cadd107178 /src/lib/libcrypto/dsa/dsatest.c
parent40d5d67842948fbf904eb73da8f09a2ebcd2e243 (diff)
downloadopenbsd-75291ae343a87368ad49c13ac02f85a88159417f.tar.gz
openbsd-75291ae343a87368ad49c13ac02f85a88159417f.tar.bz2
openbsd-75291ae343a87368ad49c13ac02f85a88159417f.zip
import OpenSSL-1.0.0a
Diffstat (limited to 'src/lib/libcrypto/dsa/dsatest.c')
-rw-r--r--src/lib/libcrypto/dsa/dsatest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/dsa/dsatest.c b/src/lib/libcrypto/dsa/dsatest.c
index 912317bb44..edffd24e6b 100644
--- a/src/lib/libcrypto/dsa/dsatest.c
+++ b/src/lib/libcrypto/dsa/dsatest.c
@@ -169,7 +169,6 @@ 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;
173 DSA_print(bio_err,dsa,0); 172 DSA_print(bio_err,dsa,0);
174 if (counter != 105) 173 if (counter != 105)
175 { 174 {
@@ -223,7 +222,7 @@ end:
223 ERR_print_errors(bio_err); 222 ERR_print_errors(bio_err);
224 if (dsa != NULL) DSA_free(dsa); 223 if (dsa != NULL) DSA_free(dsa);
225 CRYPTO_cleanup_all_ex_data(); 224 CRYPTO_cleanup_all_ex_data();
226 ERR_remove_state(0); 225 ERR_remove_thread_state(NULL);
227 ERR_free_strings(); 226 ERR_free_strings();
228 CRYPTO_mem_leaks(bio_err); 227 CRYPTO_mem_leaks(bio_err);
229 if (bio_err != NULL) 228 if (bio_err != NULL)