summaryrefslogtreecommitdiff
path: root/devel/ace/files/patch-ace__SSL__SSL_Context.cpp
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-11-03 20:55:46 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-11-03 20:55:46 +0000
commitf42c5c6388586d1b1df1b3d39fee6b526706b4e8 (patch)
treeefb0c088dae2ad5a1c082cb508469732b09f54f0 /devel/ace/files/patch-ace__SSL__SSL_Context.cpp
parent- bsd-user: deal with new sem_wait2 and sem_wake2 syscalls in head. (diff)
- Update to version 6.2.8
- Remove uneeded bsd.port.options.mk inclusion by using BROKEN_* vars PR: 194164 Submitted by: tkato432@yahoo.com
Diffstat (limited to 'devel/ace/files/patch-ace__SSL__SSL_Context.cpp')
-rw-r--r--devel/ace/files/patch-ace__SSL__SSL_Context.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/ace/files/patch-ace__SSL__SSL_Context.cpp b/devel/ace/files/patch-ace__SSL__SSL_Context.cpp
new file mode 100644
index 000000000000..b78f7d62d817
--- /dev/null
+++ b/devel/ace/files/patch-ace__SSL__SSL_Context.cpp
@@ -0,0 +1,20 @@
+--- ace/SSL/SSL_Context.cpp.orig
++++ ace/SSL/SSL_Context.cpp
+@@ -274,7 +274,7 @@
+ case ACE_SSL_Context::TLSv1:
+ method = ::TLSv1_method ();
+ break;
+-#ifdef TLS1_1_VERSION
++#if defined(TLS1_1_VERSION) && (TLS_MAX_VERSION >= TLS1_1_VERSION)
+ case ACE_SSL_Context::TLSv1_1_client:
+ method = ::TLSv1_1_client_method ();
+ break;
+@@ -285,7 +285,7 @@
+ method = ::TLSv1_1_method ();
+ break;
+ #endif
+-#ifdef TLS1_2_VERSION
++#if defined(TLS1_2_VERSION) && (TLS_MAX_VERSION >= TLS1_2_VERSION)
+ case ACE_SSL_Context::TLSv1_2_client:
+ method = ::TLSv1_2_client_method ();
+ break;