summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/AcceptorI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/AcceptorI.cpp')
-rw-r--r--cpp/src/IceSSL/AcceptorI.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/cpp/src/IceSSL/AcceptorI.cpp b/cpp/src/IceSSL/AcceptorI.cpp
index 3e262519590..ccb8b65a143 100644
--- a/cpp/src/IceSSL/AcceptorI.cpp
+++ b/cpp/src/IceSSL/AcceptorI.cpp
@@ -10,12 +10,7 @@
#include <IceSSL/AcceptorI.h>
#include <IceSSL/EndpointI.h>
#include <IceSSL/Instance.h>
-
-
-#include <IceSSL/OpenSSLTransceiverI.h>
-#include <IceSSL/SecureTransportTransceiverI.h>
-#include <IceSSL/SChannelTransceiverI.h>
-#include <IceSSL/UWPTransceiverI.h>
+#include <IceSSL/SSLEngine.h>
#include <IceSSL/Util.h>
@@ -83,7 +78,7 @@ IceSSL::AcceptorI::accept()
throw ex;
}
- return new TransceiverI(_instance, _delegate->accept(), _adapterName, true);
+ return _instance->engine()->createTransceiver(_instance, _delegate->accept(), _adapterName, true);
}
string