Any failure to obtain a response from the original OCSP responder
with SSLStaplingFakeTryLater set to ON should generate a cacheable response.
BUT the cached response has to be marked as an error at time of caching.
Otherwise it will be cached too long, AND the generated error response
will go out to the client even if SSLStaplingReturnResponderErrors
is set to OFF.
This change is in line with trunk and 2.5.
"stapling_renew_response: responder error");
if (mctx->stapling_fake_trylater) {
*prsp = OCSP_response_create(OCSP_RESPONSE_STATUS_TRYLATER, NULL);
+ *pok = FALSE;
}
else {
goto done;