aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-19 12:20:13 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-19 12:20:13 -0400
commit7253603e6b32ceb5f766017d95ac0a05002b5ed7 (patch)
tree2a56c2b49280f7ef7d19c2b9242161c98416edbc /src/lib/crypt_ops
parentb44fce67163cadbb951005416808b9b217c67639 (diff)
parent2b523604481f35571049a5cc80eaaaade168f2c8 (diff)
downloadtor-7253603e6b32ceb5f766017d95ac0a05002b5ed7.tar.gz
tor-7253603e6b32ceb5f766017d95ac0a05002b5ed7.zip
Merge branch 'bug26712'
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r--src/lib/crypt_ops/crypto_hkdf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/crypt_ops/crypto_hkdf.c b/src/lib/crypt_ops/crypto_hkdf.c
index 0200d0fe9c..1873632a9d 100644
--- a/src/lib/crypt_ops/crypto_hkdf.c
+++ b/src/lib/crypt_ops/crypto_hkdf.c
@@ -19,9 +19,9 @@
#include <openssl/opensslv.h>
-#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0)
-#define HAVE_OPENSSL_HKDF 1
+#if defined(HAVE_ERR_LOAD_KDF_STRINGS)
#include <openssl/kdf.h>
+#define HAVE_OPENSSL_HKDF 1
#endif
#include <string.h>