From: Christophe Jaillet Date: Sat, 9 Dec 2017 11:33:54 +0000 (+0000) Subject: In verify_ocsp_status in ssl_engine_ocsp.c, the log message, "OCSP response not succe... X-Git-Tag: 2.5.0-alpha2-ci-test-only~3098 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90fc6a8f23b9bdce4a21f56a5d4434587e5609b8;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/ssl/ssl_engine_ocsp.c b/modules/ssl/ssl_engine_ocsp.c index d146f6bd7f0..78d2c812ac8 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; } }