aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-06 10:58:00 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-06 10:58:00 -0500
commitaf80d472f7d6cb32370176d4dd02b5194adf0f3d (patch)
treeeb27393b286373ebef9d6ca20d70b138cec580b7
parentb71f6d6a47af96f5fab5d139e585739b078ea54a (diff)
downloadtor-af80d472f7d6cb32370176d4dd02b5194adf0f3d.tar.gz
tor-af80d472f7d6cb32370176d4dd02b5194adf0f3d.zip
"And now a better patch which builds the tests if LibreSSL is used."
Works on the latest LibreSSL (in OpenBSD-current). (Patch from 'rubiate' on #17253.
-rw-r--r--src/test/test_tortls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c
index 280e7fa3b0..fd3d50cf7e 100644
--- a/src/test/test_tortls.c
+++ b/src/test/test_tortls.c
@@ -53,7 +53,8 @@
extern tor_tls_context_t *server_tls_context;
extern tor_tls_context_t *client_tls_context;
-#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0)
+#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0) \
+ && !defined(LIBRESSL_VERSION_NUMBER)
#define OPENSSL_OPAQUE
#endif