ocspCheck is made optional
This commit is contained in:
parent
47eca42840
commit
1acc82c2da
|
@ -238,8 +238,9 @@ char* certificate_auth()
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(get_config_string("//idpc:ocspCheck"), "true") == 0 &&
|
if (get_config_string("//idpc:ocspCheck") &&
|
||||||
ocsp_check(getenv("SSL_CLIENT_CERT")) != 0) {
|
strcmp(get_config_string("//idpc:ocspCheck"), "true") == 0 &&
|
||||||
|
ocsp_check(getenv("SSL_CLIENT_CERT")) != 0) {
|
||||||
fprintf(stderr, "ocsp check failed\n");
|
fprintf(stderr, "ocsp check failed\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue