]> git.kaiwu.me - nginx.git/commitdiff
OPENSSL_config()
authorIgor Sysoev <igor@sysoev.ru>
Tue, 2 Jan 2007 23:32:41 +0000 (23:32 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 2 Jan 2007 23:32:41 +0000 (23:32 +0000)
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h

index 3573dc8506104bdb4cbc994ce0b9571ce99727e7..2c6d445958ceffc828a5d31665eb19711704f70a 100644 (file)
@@ -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();
 
index 9777fe3d9e17d60e402f373a038be183012d5dc7..7247fd225d7b7b21a31403fe63e3eecb97a9ef2b 100644 (file)
@@ -15,6 +15,7 @@
 #include <openssl/err.h>
 
 #if OPENSSL_VERSION_NUMBER >= 0x00907000
+#include <openssl/conf.h>
 #include <openssl/engine.h>
 #define NGX_SSL_ENGINE   1
 #endif