httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r424823 - in /httpd/httpd/trunk/modules/ssl: ssl_engine_init.c ssl_util.c
Date Sun, 23 Jul 2006 21:22:37 GMT
Author: rpluem
Date: Sun Jul 23 14:22:37 2006
New Revision: 424823

URL: http://svn.apache.org/viewvc?rev=424823&view=rev
Log:
* Style police / style nitpicking. No functional changes.

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_init.c
    httpd/httpd/trunk/modules/ssl/ssl_util.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_init.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_init.c?rev=424823&r1=424822&r2=424823&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_init.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_init.c Sun Jul 23 14:22:37 2006
@@ -648,14 +648,14 @@
     }
 }
 
-static void ssl_init_ctx_pkcs7_cert_chain(server_rec *s,modssl_ctx_t *mctx)
+static void ssl_init_ctx_pkcs7_cert_chain(server_rec *s, modssl_ctx_t *mctx)
 {
-    STACK_OF(X509) *certs=ssl_read_pkcs7(s, mctx->pkcs7);
+    STACK_OF(X509) *certs = ssl_read_pkcs7(s, mctx->pkcs7);
     int n;
 
     if (!mctx->ssl_ctx->extra_certs)
         for (n = 1; n < sk_X509_num(certs); ++n)
-            SSL_CTX_add_extra_chain_cert(mctx->ssl_ctx, sk_X509_value(certs, n));
+             SSL_CTX_add_extra_chain_cert(mctx->ssl_ctx, sk_X509_value(certs, n));
 }
 
 static void ssl_init_ctx_cert_chain(server_rec *s,

Modified: httpd/httpd/trunk/modules/ssl/ssl_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util.c?rev=424823&r1=424822&r2=424823&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util.c Sun Jul 23 14:22:37 2006
@@ -265,7 +265,7 @@
     return apr_pstrcat(p, id, ":", keystr, NULL);
 }
 
-STACK_OF(X509) *ssl_read_pkcs7(server_rec *s,const char *pkcs7)
+STACK_OF(X509) *ssl_read_pkcs7(server_rec *s, const char *pkcs7)
 {
     PKCS7 *p7;
     STACK_OF(X509) *certs = NULL;
@@ -277,7 +277,7 @@
         ssl_die();
     }
 
-    p7 = PEM_read_PKCS7(f,NULL,NULL,NULL);
+    p7 = PEM_read_PKCS7(f, NULL, NULL, NULL);
     if (!p7) {
         ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, 0, s,
                      "Can't read PKCS7 object %s", pkcs7);



Mime
View raw message