Mercurial > hg > nginx
changeset 4414:e8c61e79364e
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 30 Jan 2012 07:38:27 +0000 |
parents | 23ea4e72c85a |
children | 30eff7580d0c |
files | src/event/ngx_event_openssl.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event/ngx_event_openssl.c Tue Jan 24 10:20:42 2012 +0000 +++ b/src/event/ngx_event_openssl.c Mon Jan 30 07:38:27 2012 +0000 @@ -92,8 +92,6 @@ SSL_library_init(); SSL_load_error_strings(); - ENGINE_load_builtin_engines(); - OpenSSL_add_all_algorithms(); ngx_ssl_connection_index = SSL_get_ex_new_index(0, NULL, NULL, NULL, NULL);