From 90fc6a8f23b9bdce4a21f56a5d4434587e5609b8 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sat, 9 Dec 2017 11:33:54 +0000 Subject: [PATCH] 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 ] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1817598 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_ocsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssl/ssl_engine_ocsp.c b/modules/ssl/ssl_engine_ocsp.c index d146f6bd7f..78d2c812ac 100644 --- a/modules/ssl/ssl_engine_ocsp.c +++ b/modules/ssl/ssl_engine_ocsp.c @@ -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; } }