comparison src/event/ngx_event_openssl.c @ 3237:2efa8d2fcde1 stable-0.7

merge r2903, r2911, r2912, r3002: fix various failures handling
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 15:54:29 +0000
parents d4a717592877
children f33c48457d0c 08570d26c7c5
comparison
equal deleted inserted replaced
3236:9aa8fd2d5a00 3237:2efa8d2fcde1
2113 { 2113 {
2114 ngx_openssl_conf_t *oscf; 2114 ngx_openssl_conf_t *oscf;
2115 2115
2116 oscf = ngx_pcalloc(cycle->pool, sizeof(ngx_openssl_conf_t)); 2116 oscf = ngx_pcalloc(cycle->pool, sizeof(ngx_openssl_conf_t));
2117 if (oscf == NULL) { 2117 if (oscf == NULL) {
2118 return NGX_CONF_ERROR; 2118 return NULL;
2119 } 2119 }
2120 2120
2121 /* 2121 /*
2122 * set by ngx_pcalloc(): 2122 * set by ngx_pcalloc():
2123 * 2123 *