mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
修复 openssl3 deprecated warning ERR_load_BIO_strings (#1816)
This commit is contained in:
@@ -411,7 +411,9 @@ ltls_init_constructor(lua_State* L) {
|
|||||||
if(!TLS_IS_INIT) {
|
if(!TLS_IS_INIT) {
|
||||||
SSL_library_init();
|
SSL_library_init();
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
|
#if OPENSSL_VERSION_NUMBER < 0x30000000L
|
||||||
ERR_load_BIO_strings();
|
ERR_load_BIO_strings();
|
||||||
|
#endif
|
||||||
OpenSSL_add_all_algorithms();
|
OpenSSL_add_all_algorithms();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user