diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ngx_connection.h | 4 | ||||
-rw-r--r-- | src/core/ngx_core.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 9646f26a9..ea69790a0 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -90,6 +90,10 @@ struct ngx_connection_s { socklen_t socklen; ngx_str_t addr_text; +#if (NGX_OPENSSL) + SSL *ssl; +#endif + #if (HAVE_IOCP) struct sockaddr *local_sockaddr; socklen_t local_socklen; diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h index 58b1d1238..8f30f2f01 100644 --- a/src/core/ngx_core.h +++ b/src/core/ngx_core.h @@ -55,6 +55,10 @@ typedef struct ngx_connection_s ngx_connection_t; #include <ngx_process_cycle.h> #include <ngx_conf_file.h> #include <ngx_os.h> +#if (NGX_OPENSSL) +#include <openssl/ssl.h> +#include <openssl/err.h> +#endif #include <ngx_connection.h> |