]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
In verify_ocsp_status in ssl_engine_ocsp.c, the log message, "OCSP response not succe...
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 9 Dec 2017 11:33:54 +0000 (11:33 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 9 Dec 2017 11:33:54 +0000 (11:33 +0000)
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

modules/ssl/ssl_engine_ocsp.c

index d146f6bd7f0294cf2ee2f42c3cc28ed304a121cc..78d2c812ac83e03758f200cacef81ba907fb37f7 100644 (file)
@@ -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;
         }
     }