Mercurial > hg > nginx-quic
diff src/event/ngx_event_openssl.h @ 541:b09ee85d0ac8 release-0.1.45
nginx-0.1.45-RELEASE import
*) Change: the "ssl_engine" directive was canceled in the
ngx_http_ssl_module and now is introduced at global level.
*) Bugfix: the responses with SSI subrequests did not transferred via
SSL connection.
*) Various bug fixes in the IMAP/POP3 proxy.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 08 Sep 2005 14:36:09 +0000 |
parents | 371c1cee100d |
children | 511a89da35ad |
line wrap: on
line diff
--- a/src/event/ngx_event_openssl.h +++ b/src/event/ngx_event_openssl.h @@ -14,6 +14,13 @@ #include <openssl/ssl.h> #include <openssl/err.h> +#if OPENSSL_VERSION_NUMBER >= 0x00907000 +#include <openssl/engine.h> +#define NGX_SSL_ENGINE 1 +#endif + +#define NGX_SSL_NAME "OpenSSL" + typedef struct { SSL *ssl; @@ -38,7 +45,6 @@ typedef SSL_CTX ngx_ssl_ctx_t; #define NGX_SSL_BUFFER 1 - #define NGX_SSL_BUFSIZE 16384