comparison src/imap/ngx_imap_ssl_module.c @ 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
comparison
equal deleted inserted replaced
89:7ed9767f1c4e 90:71c46860eb55
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 }