comparison src/imap/ngx_imap_ssl_module.c @ 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
comparison
equal deleted inserted replaced
540:983c48ab79bb 541:b09ee85d0ac8
63 ngx_module_t ngx_imap_ssl_module = { 63 ngx_module_t ngx_imap_ssl_module = {
64 NGX_MODULE_V1, 64 NGX_MODULE_V1,
65 &ngx_imap_ssl_module_ctx, /* module context */ 65 &ngx_imap_ssl_module_ctx, /* module context */
66 ngx_imap_ssl_commands, /* module directives */ 66 ngx_imap_ssl_commands, /* module directives */
67 NGX_IMAP_MODULE, /* module type */ 67 NGX_IMAP_MODULE, /* module type */
68 NULL, /* init master */
68 NULL, /* init module */ 69 NULL, /* init module */
69 NULL /* init process */ 70 NULL, /* init process */
71 NULL, /* init thread */
72 NULL, /* exit thread */
73 NULL, /* exit process */
74 NULL, /* exit master */
75 NGX_MODULE_V1_PADDING
70 }; 76 };
71 77
72 78
73 static void * 79 static void *
74 ngx_imap_ssl_create_conf(ngx_conf_t *cf) 80 ngx_imap_ssl_create_conf(ngx_conf_t *cf)
168 "SSL_CTX_use_PrivateKey_file(\"%s\") failed", 174 "SSL_CTX_use_PrivateKey_file(\"%s\") failed",
169 conf->certificate_key.data); 175 conf->certificate_key.data);
170 return NGX_CONF_ERROR; 176 return NGX_CONF_ERROR;
171 } 177 }
172 178
179 SSL_CTX_set_verify(conf->ssl_ctx, SSL_VERIFY_NONE, NULL);
180
173 return NGX_CONF_OK; 181 return NGX_CONF_OK;
174 } 182 }