From: Ben Laurie Date: Sun, 25 May 2014 16:25:56 +0000 (+0100) Subject: Make it build. X-Git-Tag: master-post-reformat~776 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ba4477d6490d42a312993dd96c74b440a69dab40;p=oweals%2Fopenssl.git Make it build. Closes #31. --- 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;