From 33e4a7fd2da7263e676351b133b94719c71a26e4 Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 3 Oct 2016 09:58:13 +0200 Subject: Fixed (ICE-7405) - Can't run UWP demos with SSL --- cpp/src/Ice/winrt/StreamEndpointI.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpp') diff --git a/cpp/src/Ice/winrt/StreamEndpointI.cpp b/cpp/src/Ice/winrt/StreamEndpointI.cpp index 1aae6f4859d..aff7ac35972 100644 --- a/cpp/src/Ice/winrt/StreamEndpointI.cpp +++ b/cpp/src/Ice/winrt/StreamEndpointI.cpp @@ -178,6 +178,14 @@ IceInternal::StreamEndpointI::transceiver() const AcceptorPtr IceInternal::StreamEndpointI::acceptor(const string&) const { + if(secure()) + { + Ice::FeatureNotSupportedException ex(__FILE__, __LINE__); + ostringstream os; + os << "SSL server endpoints are not supported with UWP applications"; + ex.unsupportedFeature = os.str(); + throw ex; + } return new StreamAcceptor(const_cast(this), _instance, _host, _port); } -- cgit v1.2.3