|
@@ -9063,14 +9063,6 @@ inline bool process_client_socket_ssl(
|
|
|
return callback(strm);
|
|
return callback(strm);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-class SSLInit {
|
|
|
|
|
-public:
|
|
|
|
|
- SSLInit() {
|
|
|
|
|
- OPENSSL_init_ssl(
|
|
|
|
|
- OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL);
|
|
|
|
|
- }
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
// SSL socket stream implementation
|
|
// SSL socket stream implementation
|
|
|
inline SSLSocketStream::SSLSocketStream(
|
|
inline SSLSocketStream::SSLSocketStream(
|
|
|
socket_t sock, SSL *ssl, time_t read_timeout_sec, time_t read_timeout_usec,
|
|
socket_t sock, SSL *ssl, time_t read_timeout_sec, time_t read_timeout_usec,
|
|
@@ -9191,8 +9183,6 @@ inline time_t SSLSocketStream::duration() const {
|
|
|
.count();
|
|
.count();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-static SSLInit sslinit_;
|
|
|
|
|
-
|
|
|
|
|
} // namespace detail
|
|
} // namespace detail
|
|
|
|
|
|
|
|
// SSL HTTP server implementation
|
|
// SSL HTTP server implementation
|