diff options
Diffstat (limited to 'devel/ace/files/patch-ace__SSL__SSL_Context.cpp')
| -rw-r--r-- | devel/ace/files/patch-ace__SSL__SSL_Context.cpp | 20 |
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; |
