summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-10-03 12:15:09 -0400
committerNick Mathewson <nickm@torproject.org>2014-10-03 12:15:09 -0400
commitd1fa0163e571913b8e4972c5c8a2d46798f46156 (patch)
treeece5b4ede52f43d47cfd8e8196a44102ee43661f /configure.ac
parent0c3b3650aa831183c76b044466e89eaee36d5684 (diff)
downloadtor-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.ac4
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?