From d1fa0163e571913b8e4972c5c8a2d46798f46156 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 3 Oct 2014 12:15:09 -0400 Subject: Run correctly on OpenBSD systems without SSL_METHOD.get_cipher_by_char MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') 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 +]) + dnl ------------------------------------------------------ dnl Where do you live, zlib? And how do we call you? -- cgit v1.2.3-54-g00ecf