summaryrefslogtreecommitdiff
path: root/ACE
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-02-03 15:02:28 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-02-03 15:02:28 +0100
commit620a751859ad758a77362c818e3ca2f279919bcb (patch)
tree1fa54414527de0d04e339093845cef43de54500f /ACE
parent269010b97abce5020a0c4a8ce4e65414b5bd1721 (diff)
parentbe2df3244a3cfb5070fa8b5f93c90d9e81d6edf1 (diff)
downloadATCD-620a751859ad758a77362c818e3ca2f279919bcb.tar.gz
Merge branch 'master' of https://github.com/DOCGroup/ACE_TAO into master
Diffstat (limited to 'ACE')
-rw-r--r--ACE/ace/SSL/SSL_Context.cpp11
-rw-r--r--ACE/include/makeinclude/platform_macosx_common.GNU15
2 files changed, 19 insertions, 7 deletions
diff --git a/ACE/ace/SSL/SSL_Context.cpp b/ACE/ace/SSL/SSL_Context.cpp
index badc7239546..3fff8fa365e 100644
--- a/ACE/ace/SSL/SSL_Context.cpp
+++ b/ACE/ace/SSL/SSL_Context.cpp
@@ -349,6 +349,17 @@ ACE_SSL_Context::filter_versions (const char* versionlist)
::SSL_CTX_set_options (this->context_, SSL_OP_NO_TLSv1_2);
}
#endif /* SSL_OP_NO_TLSv1_2 */
+
+#if defined (SSL_OP_NO_TLSv1_3)
+ pos = vlist.find("tlsv1.3");
+ match = pos != ACE_CString::npos &&
+ (pos == vlist.length() - 7 ||
+ seplist.find(vlist[pos + 7]) != ACE_CString::npos);
+ if (!match)
+ {
+ ::SSL_CTX_set_options(this->context_, SSL_OP_NO_TLSv1_3);
+ }
+#endif /* SSL_OP_NO_TLSv1_3 */
return 0;
}
diff --git a/ACE/include/makeinclude/platform_macosx_common.GNU b/ACE/include/makeinclude/platform_macosx_common.GNU
index 1ba6dcd5107..342883b2855 100644
--- a/ACE/include/makeinclude/platform_macosx_common.GNU
+++ b/ACE/include/makeinclude/platform_macosx_common.GNU
@@ -27,21 +27,22 @@ CC ?= gcc
CXX ?= g++
DCCFLAGS += -g
DCFLAGS += -g
-DLD = $(CXX)
-LD = $(CXX)
+DLD = $(CXX)
+LD = $(CXX)
#LIBS += -lstdc++.6 -lSystem -lSystemStubs
-OCFLAGS += -O2
-RANLIB = ranlib
-SOEXT = dylib
-SOFLAGS += -dynamiclib
-SOBUILD = -o $(VSHDIR)$*.dylib $<
+OCFLAGS += -O2
+RANLIB = ranlib
+SOEXT = dylib
+SOFLAGS += -dynamiclib
+SOBUILD = -o $(VSHDIR)$*.dylib $<
# Test for template instantiation, add to SOFLAGS if versioned_so set,
# add -E to LDFLAGS if using GNU ld
ifeq ($(findstring g++,$(CXX)),)#
include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU
else
+ c++11 ?= 1
include $(ACE_ROOT)/include/makeinclude/platform_clang_common.GNU
endif