aboutsummaryrefslogtreecommitdiff
path: root/src/imap/ngx_imap_ssl_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-09-08 14:36:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-09-08 14:36:09 +0000
commite573380f247f4840dd27b40e76c587196a84f106 (patch)
tree2bf9b16bbd3f9213fcb05fe3962938f24bf02677 /src/imap/ngx_imap_ssl_module.c
parent6f8cd96a9b0394589fbcfa75e9d26ef4f881d51b (diff)
downloadnginx-e573380f247f4840dd27b40e76c587196a84f106.tar.gz
nginx-e573380f247f4840dd27b40e76c587196a84f106.zip
nginx-0.1.45-RELEASE importrelease-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.
Diffstat (limited to 'src/imap/ngx_imap_ssl_module.c')
-rw-r--r--src/imap/ngx_imap_ssl_module.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/imap/ngx_imap_ssl_module.c b/src/imap/ngx_imap_ssl_module.c
index e5834a631..b072d9194 100644
--- a/src/imap/ngx_imap_ssl_module.c
+++ b/src/imap/ngx_imap_ssl_module.c
@@ -65,8 +65,14 @@ ngx_module_t ngx_imap_ssl_module = {
&ngx_imap_ssl_module_ctx, /* module context */
ngx_imap_ssl_commands, /* module directives */
NGX_IMAP_MODULE, /* module type */
+ NULL, /* init master */
NULL, /* init module */
- NULL /* init process */
+ NULL, /* init process */
+ NULL, /* init thread */
+ NULL, /* exit thread */
+ NULL, /* exit process */
+ NULL, /* exit master */
+ NGX_MODULE_V1_PADDING
};
@@ -170,5 +176,7 @@ ngx_imap_ssl_merge_conf(ngx_conf_t *cf, void *parent, void *child)
return NGX_CONF_ERROR;
}
+ SSL_CTX_set_verify(conf->ssl_ctx, SSL_VERIFY_NONE, NULL);
+
return NGX_CONF_OK;
}