Commit 965ebe5d authored by Ruediger Pluem's avatar Ruediger Pluem
Browse files

* Only report success, if had real one.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1798457 13f79535-47bb-0310-9956-ffa450edef68
parent 30ffe5db
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -805,11 +805,11 @@ static int stapling_cb(SSL *ssl, void *arg)
                                         conn->pool);
            stapling_refresh_mutex_off(s);

            if (rv == TRUE) {
            if ((rv == TRUE) && (ok == TRUE) && rsp) {
                ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(03040)
                             "stapling_cb: success renewing response");
            }
            else {
            else if (rv == FALSE) {
                ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(01955)
                             "stapling_cb: fatal error renewing response");
                return SSL_TLSEXT_ERR_ALERT_FATAL;