httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1161011 - /httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c
Date Wed, 24 Aug 2011 08:45:18 GMT
Author: rpluem
Date: Wed Aug 24 08:45:18 2011
New Revision: 1161011

URL: http://svn.apache.org/viewvc?rev=1161011&view=rev
Log:
* Style fixes. No functional change.

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

Modified: httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c?rev=1161011&r1=1161010&r2=1161011&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_ssl.c Wed Aug 24 08:45:18 2011
@@ -443,8 +443,8 @@ int SSL_X509_INFO_create_chain(const X50
                              STACK_OF(X509_INFO) *ca_certs,
                              STACK_OF(X509_INFO) *chain)
 {
-    int can_proceed=1;
-    int len=0;
+    int can_proceed = 1;
+    int len = 0;
     int i;
     X509 *certificate = (X509 *)x509;
     X509_INFO *info;
@@ -461,7 +461,8 @@ int SSL_X509_INFO_create_chain(const X50
 
             if (X509_NAME_cmp(cert_issuer_name, ca_name) == 0) {
                 /* Check for a self-signed cert (no issuer) */
-                can_proceed=X509_NAME_cmp(ca_name, ca_issuer_name) == 0 ? 0 : 1;
+                can_proceed = X509_NAME_cmp(ca_name, ca_issuer_name) == 0
+                              ? 0 : 1;
                 len++;
                 certificate = info->x509;
                 sk_X509_INFO_unshift(chain, info);



Mime
View raw message