projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up the tests for auto-init/de-init
[openssl.git]
/
test
/
srptest.c
diff --git
a/test/srptest.c
b/test/srptest.c
index 442a6101d42a79198dd05001f9c3590bc6f0fd2e..8379535029f5b67de2bda7c0658c2e0e78120bc6 100644
(file)
--- a/
test/srptest.c
+++ b/
test/srptest.c
@@
-129,7
+129,6
@@
int main(int argc, char **argv)
CRYPTO_set_mem_debug(1);
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
CRYPTO_set_mem_debug(1);
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
- ERR_load_crypto_strings();
/* "Negative" test, expect a mismatch */
if (run_srp("alice", "password1", "password2") == 0) {
/* "Negative" test, expect a mismatch */
if (run_srp("alice", "password1", "password2") == 0) {
@@
-143,9
+142,6
@@
int main(int argc, char **argv)
return 1;
}
return 1;
}
- CRYPTO_cleanup_all_ex_data();
- ERR_remove_thread_state(NULL);
- ERR_free_strings();
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
if (CRYPTO_mem_leaks(bio_err) <= 0)
return 1;
#ifndef OPENSSL_NO_CRYPTO_MDEBUG
if (CRYPTO_mem_leaks(bio_err) <= 0)
return 1;