summaryrefslogtreecommitdiff
path: root/drivers/openssl/register_openssl.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-05-01 09:53:37 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-05-01 09:53:37 -0300
commit4dc4e96c8a4fb7e34ecae3a39ef0f3f3fb275e97 (patch)
tree73da4d4d6d0fa1b4c6761a63ac3674aead8b12e3 /drivers/openssl/register_openssl.cpp
parent5ab65f0eadec6a67eda622787206a01c8af2cf7e (diff)
-OpenSSL Fixes
Diffstat (limited to 'drivers/openssl/register_openssl.cpp')
-rw-r--r--drivers/openssl/register_openssl.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/openssl/register_openssl.cpp b/drivers/openssl/register_openssl.cpp
new file mode 100644
index 0000000000..fe12c55656
--- /dev/null
+++ b/drivers/openssl/register_openssl.cpp
@@ -0,0 +1,16 @@
+#include "register_openssl.h"
+
+#include "stream_peer_openssl.h"
+
+void register_openssl() {
+
+ ObjectTypeDB::register_type<StreamPeerOpenSSL>();
+ StreamPeerOpenSSL::initialize_ssl();
+
+}
+
+void unregister_openssl() {
+
+ StreamPeerOpenSSL::finalize_ssl();
+
+}