You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2009/10/28 14:58:56 UTC

svn commit: r830544 - /httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c

Author: jorton
Date: Wed Oct 28 13:58:56 2009
New Revision: 830544

URL: http://svn.apache.org/viewvc?rev=830544&view=rev
Log:
* module/ssl/ssl_util_stapling.c: Style fixes, no functional change.

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c?rev=830544&r1=830543&r2=830544&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c Wed Oct 28 13:58:56 2009
@@ -210,7 +210,8 @@
     if (ok == TRUE) {
         *p++ = 1;
         timeout = mctx->stapling_cache_timeout;
-    } else {
+    } 
+    else {
         *p++ = 0;
         timeout = mctx->stapling_errcache_timeout;
     }
@@ -325,7 +326,8 @@
         /* If ID not present just pass back to client */
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
                      "stapling_check_response: certificate ID not present in response!");
-    } else {
+    } 
+    else {
         if (OCSP_check_validity(thisupd, nextupd,
                                 mctx->stapling_resptime_skew,
                                 mctx->stapling_resp_maxage)) {
@@ -340,7 +342,8 @@
             if (pok) {
                 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
                              "stapling_check_response: response times invalid");
-            } else {
+            } 
+            else {
                 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
                              "stapling_check_response: cached response expired");
             }
@@ -407,7 +410,8 @@
                       ocspuri);
         rv = FALSE;
         goto done;
-    } else if (strcmp(uri.scheme, "http")) {
+    } 
+    else if (strcmp(uri.scheme, "http")) {
         ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
                      "stapling_renew_response: Unsupported uri %s", ocspuri);
         rv = FALSE;
@@ -428,7 +432,8 @@
         else {
             goto done;
         }
-    } else {
+    } 
+    else {
         int response_status = OCSP_response_status(*prsp);
 
         if (response_status == OCSP_RESPONSE_STATUS_SUCCESSFUL) {
@@ -439,7 +444,8 @@
                 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
                              "stapling_renew_response: error in retreived response!");
             }
-        } else {
+        } 
+        else {
             ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
                          "stapling_renew_response: responder error %s",
                          OCSP_response_status_str(response_status));