1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-04 02:49:14 -04:00
ports/devel/ace/files/patch-ace-ssl-ssl_context.cpp
Pawel Pekala 2c1c46ab77 Fix build with openssl from ports
PR:		ports/163712
Reported by:	Anthony Chavez <acc@hexadecagram.org>
2012-01-10 19:10:15 +00:00

14 lines
342 B
C++

--- ace/SSL/SSL_Context.cpp.orig 2012-01-10 18:04:45.000000000 +0100
+++ ace/SSL/SSL_Context.cpp 2012-01-10 18:17:42.000000000 +0100
@@ -231,7 +231,11 @@
if (this->context_ != 0)
return -1;
+#if OPENSSL_VERSION_NUMBER < 0x1000000f
SSL_METHOD *method = 0;
+#else
+ const SSL_METHOD *method = 0;
+#endif
switch (mode)
{