Only use OpenSSL kdf support if it is present.
commit2b523604481f35571049a5cc80eaaaade168f2c8
authorNick Mathewson <nickm@torproject.org>
Wed, 11 Jul 2018 14:10:42 +0000 (11 10:10 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 11 Jul 2018 14:19:06 +0000 (11 10:19 -0400)
treed8cbd9a8ece87ca813f922bdfac7559aa5e1d06f
parent537092cdbb7f4be0e6d68f4e5d65ca2a403375f9
Only use OpenSSL kdf support if it is present.

We have to check for ERR_load_KDF_strings() here, since that's the
only one that's actually a function rather than a macro.

Fixes compilation with LibreSSL.  Fixes bug 26712; bug not in
any released Tor.
configure.ac
src/lib/crypt_ops/crypto_hkdf.c