[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] "And now a better patch which builds the tests if LibreSSL is used."
commit af80d472f7d6cb32370176d4dd02b5194adf0f3d
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Fri Nov 6 10:58:00 2015 -0500
"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.
---
src/test/test_tortls.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c
index 280e7fa..fd3d50c 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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits