register_openssl.cpp 284 B

12345678910111213141516171819
  1. #include "register_openssl.h"
  2. #include "stream_peer_openssl.h"
  3. #ifdef OPENSSL_ENABLED
  4. void register_openssl() {
  5. ObjectTypeDB::register_type<StreamPeerOpenSSL>();
  6. StreamPeerOpenSSL::initialize_ssl();
  7. }
  8. void unregister_openssl() {
  9. StreamPeerOpenSSL::finalize_ssl();
  10. }
  11. #endif