get certificate info only for debug build
Igor Sysoev
14 years ago
1 changed file(s) with
2 addition(s)
and
0 deletion(s)
.
Raw diff
Collapse all
Expand all
+2
-0
src/event/ngx_event_openssl.c
less
more
284
284
static int
285
285
ngx_http_ssl_verify_callback(int ok, X509_STORE_CTX *x509_store)
286
286
{
287
#if (NGX_DEBUG)
287
288
char *subject, *issuer;
288
289
int err, depth;
289
290
X509 *cert;
318
319
if (iname) {
319
320
OPENSSL_free(issuer);
320
321
}
322
#endif
321
323
322
324
return 1;
323
325
}