tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1293123 - /tomcat/native/branches/1.1.x/native/src/sslutils.c
Date Fri, 24 Feb 2012 08:01:52 GMT
Author: mturk
Date: Fri Feb 24 08:01:52 2012
New Revision: 1293123

URL: http://svn.apache.org/viewvc?rev=1293123&view=rev
Log:
Fix code style. No functional change

Modified:
    tomcat/native/branches/1.1.x/native/src/sslutils.c

Modified: tomcat/native/branches/1.1.x/native/src/sslutils.c
URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/sslutils.c?rev=1293123&r1=1293122&r2=1293123&view=diff
==============================================================================
--- tomcat/native/branches/1.1.x/native/src/sslutils.c (original)
+++ tomcat/native/branches/1.1.x/native/src/sslutils.c Fri Feb 24 08:01:52 2012
@@ -664,7 +664,7 @@ int SSL_callback_SSL_verify(int ok, X509
 
 #if HAS_OCSP_ENABLED
     /* First perform OCSP validation if possible */
-    if(ok) {
+    if (ok) {
         /* If there was an optional verification error, it's not
          * possible to perform OCSP validation since the issuer may be
          * missing/untrusted.  Fail in that case.
@@ -676,10 +676,10 @@ int SSL_callback_SSL_verify(int ok, X509
         }
         else {
             int ocsp_response = ssl_verify_OCSP(ok, ctx);
-            if (ocsp_response == OCSP_STATUS_OK ) {
+            if (ocsp_response == OCSP_STATUS_OK) {
                 skip_crl = 1; /* we know it is valid we skip crl evaluation */
             }
-            else if(ocsp_response == OCSP_STATUS_REVOKED ) {
+            else if (ocsp_response == OCSP_STATUS_REVOKED) {
                 ok = 0 ;
                 errnum = X509_STORE_CTX_get_error(ctx);
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message