Fix build with openssl from ports
PR: ports/163712 Reported by: Anthony Chavez <acc@hexadecagram.org>
This commit is contained in:
parent
66b5124126
commit
2c1c46ab77
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288909
1 changed files with 14 additions and 0 deletions
14
devel/ace/files/patch-ace-ssl-ssl_context.cpp
Normal file
14
devel/ace/files/patch-ace-ssl-ssl_context.cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- 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)
|
||||
{
|
Loading…
Reference in a new issue