diff src/event/ngx_event_openssl.h @ 90:71c46860eb55 NGINX_0_1_45

nginx 0.1.45 *) 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 <http://sysoev.ru>
date Thu, 08 Sep 2005 00:00:00 +0400
parents e916a291e9aa
children 45945fa8b8ba
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