[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 61876] New: OCSP response status logged incorrectly


            Bug ID: 61876
           Summary: OCSP response status logged incorrectly
           Product: Apache httpd-2
           Version: 2.4.27
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ssl
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: sam.eastman.4114@xxxxxxxxx
  Target Milestone: ---

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.

157    if (rc == V_OCSP_CERTSTATUS_GOOD) {
158        int r = OCSP_response_status(response);
161            ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(01922)
162                         "OCSP response not successful: %d", rc);
163            rc = V_OCSP_CERTSTATUS_UNKNOWN;
164        }
165    }

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx