mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53: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) {
|
||||
SSL_library_init();
|
||||
SSL_load_error_strings();
|
||||
#if OPENSSL_VERSION_NUMBER < 0x30000000L
|
||||
ERR_load_BIO_strings();
|
||||
#endif
|
||||
OpenSSL_add_all_algorithms();
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user