summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2014-05-25 17:25:56 +0100
committerBen Laurie <ben@links.org>2014-05-25 17:35:04 +0100
commitba4477d6490d42a312993dd96c74b440a69dab40 (patch)
tree3d7d5c201fb3252b3f9ee0783c7362ae33b7be2f /crypto/evp
parent56431240ae8e3f75008575b1da1eb28115e5ee46 (diff)
Make it build.
Closes #31.
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/p5_crpt2_test.c4
1 files 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;