mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
Removed ENGINE_load_builtin_engines() call.
It's already called by OPENSSL_config(). Calling it again causes some openssl engines (notably GOST) to corrupt memory, as they don't expect to be created more than once.
This commit is contained in:
parent
94992aa62e
commit
90a7a8f5d9
@ -92,8 +92,6 @@ ngx_ssl_init(ngx_log_t *log)
|
|||||||
SSL_library_init();
|
SSL_library_init();
|
||||||
SSL_load_error_strings();
|
SSL_load_error_strings();
|
||||||
|
|
||||||
ENGINE_load_builtin_engines();
|
|
||||||
|
|
||||||
OpenSSL_add_all_algorithms();
|
OpenSSL_add_all_algorithms();
|
||||||
|
|
||||||
ngx_ssl_connection_index = SSL_get_ex_new_index(0, NULL, NULL, NULL, NULL);
|
ngx_ssl_connection_index = SSL_get_ex_new_index(0, NULL, NULL, NULL, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user