Klaus Demo nginx / 396abff
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
284284 static int
285285 ngx_http_ssl_verify_callback(int ok, X509_STORE_CTX *x509_store)
286286 {
287 #if (NGX_DEBUG)
287288 char *subject, *issuer;
288289 int err, depth;
289290 X509 *cert;
318319 if (iname) {
319320 OPENSSL_free(issuer);
320321 }
322 #endif
321323
322324 return 1;
323325 }