From ba4477d6490d42a312993dd96c74b440a69dab40 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 25 May 2014 17:25:56 +0100 Subject: [PATCH] Make it build. Closes #31. --- crypto/evp/p5_crpt2_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/evp/p5_crpt2_test.c b/crypto/evp/p5_crpt2_test.c index ad57e17655..3527a21fec 100644 --- a/crypto/evp/p5_crpt2_test.c +++ b/crypto/evp/p5_crpt2_test.c @@ -137,7 +137,7 @@ convert(unsigned char *dst, const unsigned char *src, int len) { *dst = 0; } -void +static void test_p5_pbkdf2(int i, char *digestname, testdata *test, const char *hex) { const EVP_MD *digest; @@ -218,7 +218,7 @@ int main(int argc,char **argv) { #endif EVP_cleanup(); CRYPTO_cleanup_all_ex_data(); - ERR_remove_state(0); + ERR_remove_thread_state(NULL); ERR_free_strings(); CRYPTO_mem_leaks_fp(stderr); return 0; -- 2.25.1