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