godot/drivers/openssl/register_openssl.cpp

20 lines
284 B
C++
Raw Normal View History

2015-10-08 20:00:40 +02:00
#include "register_openssl.h"
#include "stream_peer_openssl.h"
#ifdef OPENSSL_ENABLED
void register_openssl() {
ObjectTypeDB::register_type<StreamPeerOpenSSL>();
StreamPeerOpenSSL::initialize_ssl();
}
void unregister_openssl() {
StreamPeerOpenSSL::finalize_ssl();
}
#endif