Anonymous User
January 30, 2012 02:40AM
Author: mdounin
Date: 2012-01-30 07:38:27 +0000 (Mon, 30 Jan 2012)
New Revision: 4415

Log:
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.


Modified:
trunk/src/event/ngx_event_openssl.c

Modified: trunk/src/event/ngx_event_openssl.c
===================================================================
--- trunk/src/event/ngx_event_openssl.c 2012-01-24 10:20:42 UTC (rev 4414)
+++ trunk/src/event/ngx_event_openssl.c 2012-01-30 07:38:27 UTC (rev 4415)
@@ -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);

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4415 - trunk/src/event

Anonymous User 1033 January 30, 2012 02:40AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready