ngx_openssl_create_conf
声明在 src\event\ngx_event_openssl.c
static void *ngx_openssl_create_conf(ngx_cycle_t *cycle);
定义在 src\event\ngx_event_openssl.c
static void *
ngx_openssl_create_conf(ngx_cycle_t *cycle)
{
ngx_openssl_conf_t *oscf;
oscf = ngx_pcalloc(cycle->pool, sizeof(ngx_openssl_conf_t));
if (oscf == NULL) {
return NULL;
}
/*
* set by ngx_pcalloc():
*
* oscf->engine = 0;
*/
return oscf;
}