]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorSource Maintenance <squidadm@squid-cache.org>
Fri, 30 Dec 2016 12:12:18 +0000 (12:12 +0000)
committerSource Maintenance <squidadm@squid-cache.org>
Fri, 30 Dec 2016 12:12:18 +0000 (12:12 +0000)
src/ssl/bio.cc
src/ssl/gadgets.cc
src/ssl/support.cc

index 3975a18681fa3af82abd79d90b2a58f7681069d7..4a1c013d9e39a59dd5e80aa288b5e7c206e86691 100644 (file)
@@ -79,7 +79,7 @@ Ssl::Bio::Create(const int fd, Ssl::Bio::Type type)
     }
     const BIO_METHOD *useMethod = SquidMethods;
 #endif
-    
+
     if (BIO *bio = BIO_new(useMethod)) {
         BIO_int_ctrl(bio, BIO_C_SET_FD, type, fd);
         return bio;
index c753905279fd2211a2d6e6f68ec92fbbddf6c305..eae4e7289eeb8f1ddd1a6d591c7f8e947638c898 100644 (file)
@@ -30,7 +30,7 @@ EVP_PKEY * Ssl::createSslPrivateKey()
     Ssl::RSA_Pointer rsa(RSA_new());
     if (!rsa)
         return NULL;
-    
+
     int num = 2048; // Maybe use 4096 RSA keys, or better make it configurable?
     if (!RSA_generate_key_ex(rsa.get(), num, bn.get(), NULL))
         return NULL;
@@ -395,7 +395,6 @@ mimicExtensions(Security::CertPointer & cert, Security::CertPointer const &mimic
     const bool rsaPkey = (EVP_PKEY_get0_RSA(certKey) != NULL);
 #endif
 
-
     int added = 0;
     int nid;
     for (int i = 0; (nid = extensions[i]) != 0; ++i) {
index 09c1dd0e3610a6af8e07547c41013ac52f07aa21..3d35f9c26d3134030e1d38b14d3e247d47df7cce 100644 (file)
@@ -1141,7 +1141,7 @@ hasAuthorityInfoAccessCaIssuers(X509 *cert)
 #else
                              ASN1_STRING_get0_data(ad->location->d.uniformResourceIdentifier)
 #endif
-                             ),
+                         ),
                          sizeof(uri));
             }
             break;