diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-11 10:10:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-11 10:19:06 -0400 |
commit | 2b523604481f35571049a5cc80eaaaade168f2c8 (patch) | |
tree | d8cbd9a8ece87ca813f922bdfac7559aa5e1d06f /configure.ac | |
parent | 537092cdbb7f4be0e6d68f4e5d65ca2a403375f9 (diff) | |
download | tor-2b523604481f35571049a5cc80eaaaade168f2c8.tar.gz tor-2b523604481f35571049a5cc80eaaaade168f2c8.zip |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 532476672a..2ababb03bb 100644 --- a/configure.ac +++ b/configure.ac @@ -902,6 +902,7 @@ AC_CHECK_MEMBERS([struct ssl_method_st.get_cipher_by_char], , , ]) AC_CHECK_FUNCS([ \ + ERR_load_KDF_strings \ SSL_SESSION_get_master_key \ SSL_get_server_random \ SSL_get_client_ciphers \ |