mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
In verify_ocsp_status in ssl_engine_ocsp.c, the log message, "OCSP response not successful: %d" should print the value of r instead of rc.
The value of rc will always be 0. PR 61876 [sam <sam.eastman.4114 gmail.com>] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1817598 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -159,7 +159,7 @@ static int verify_ocsp_status(X509 *cert, X509_STORE_CTX *ctx, conn_rec *c,
|
||||
|
||||
if (r != OCSP_RESPONSE_STATUS_SUCCESSFUL) {
|
||||
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(01922)
|
||||
"OCSP response not successful: %d", rc);
|
||||
"OCSP response not successful: %d", r);
|
||||
rc = V_OCSP_CERTSTATUS_UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user