diff src/event/ngx_event_openssl.c @ 968:1b60ecc8cdb7

OPENSSL_config()
author Igor Sysoev <igor@sysoev.ru>
date Tue, 02 Jan 2007 23:32:41 +0000
parents cec32b3753ac
children 065b39794fff
line wrap: on
line diff
--- a/src/event/ngx_event_openssl.c
+++ b/src/event/ngx_event_openssl.c
@@ -90,6 +90,10 @@ int  ngx_connection_index;
 ngx_int_t
 ngx_ssl_init(ngx_log_t *log)
 {
+#if OPENSSL_VERSION_NUMBER >= 0x00907000
+    OPENSSL_config(NULL);
+#endif
+
     SSL_library_init();
     SSL_load_error_strings();