diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-10-03 12:15:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-10-03 12:15:09 -0400 |
commit | d1fa0163e571913b8e4972c5c8a2d46798f46156 (patch) | |
tree | ece5b4ede52f43d47cfd8e8196a44102ee43661f /configure.ac | |
parent | 0c3b3650aa831183c76b044466e89eaee36d5684 (diff) | |
download | tor-d1fa0163e571913b8e4972c5c8a2d46798f46156.tar.gz tor-d1fa0163e571913b8e4972c5c8a2d46798f46156.zip |
Run correctly on OpenBSD systems without SSL_METHOD.get_cipher_by_char
Also, make sure we will compile correctly on systems where they
finally rip it out.
Fixes issue #13325. Caused by this openbsd commit:
​http://marc.info/?l=openbsd-cvs&m=140768179627976&w=2
Reported by Fredzupy.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3456013320..35484748ce 100644 --- a/configure.ac +++ b/configure.ac @@ -524,6 +524,10 @@ else fi AC_SUBST(TOR_OPENSSL_LIBS) +AC_CHECK_MEMBERS([struct ssl_method_st.get_cipher_by_char], , , +[#include <openssl/ssl.h> +]) + dnl ------------------------------------------------------ dnl Where do you live, zlib? And how do we call you? |