mirror of
https://github.com/nginx/nginx.git
synced 2025-06-27 00:40:40 +08:00
OPENSSL_config()
This commit is contained in:
parent
5096bd9a92
commit
7504a40130
@ -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();
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user