Klaus Demo nginx / 13bf275
OCSP stapling: fixed using wrong responder with multiple certs. Maxim Dounin 3 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
375375 {
376376 ngx_url_t u;
377377 char *s;
378 ngx_str_t rsp;
378379 STACK_OF(OPENSSL_STRING) *aia;
379380
380381 if (responder->len == 0) {
401402 X509_email_free(aia);
402403 return NGX_DECLINED;
403404 }
405
406 responder = &rsp;
404407
405408 responder->len = ngx_strlen(s);
406409 responder->data = ngx_palloc(cf->pool, responder->len);