diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-07-09 16:34:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-07-09 16:34:51 -0400 |
commit | fdf5014d1134c2e06771e1265bca2eddb0e65ada (patch) | |
tree | 779bbd373a1ac05c23736d5f89139f5ec2035ead /src/test/test_crypto_slow.c | |
parent | 0ca98c1ee5f81f95fefde984a474391ea8a9842a (diff) | |
download | tor-fdf5014d1134c2e06771e1265bca2eddb0e65ada.tar.gz tor-fdf5014d1134c2e06771e1265bca2eddb0e65ada.zip |
Fix missing-macro errors
Diffstat (limited to 'src/test/test_crypto_slow.c')
-rw-r--r-- | src/test/test_crypto_slow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_crypto_slow.c b/src/test/test_crypto_slow.c index 41b8b97a8a..2bd76f2cae 100644 --- a/src/test/test_crypto_slow.c +++ b/src/test/test_crypto_slow.c @@ -129,7 +129,7 @@ test_crypto_s2k_general(void *arg) } } -#if defined(HAVE_LIBSCRYPT_H) && HAVE_EVP_PBE_SCRYPT +#if defined(HAVE_LIBSCRYPT_H) && defined(HAVE_EVP_PBE_SCRYPT) static void test_libscrypt_eq_openssl(void *arg) { @@ -502,7 +502,7 @@ struct testcase_t slow_crypto_tests[] = { (void*)"scrypt" }, { "s2k_scrypt_low", test_crypto_s2k_general, 0, &passthrough_setup, (void*)"scrypt-low" }, -#if HAVE_EVP_PBE_SCRYPT +#ifdef HAVE_EVP_PBE_SCRYPT { "libscrypt_eq_openssl", test_libscrypt_eq_openssl, 0, NULL, NULL }, #endif #endif |