]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 28 Aug 2014 00:14:08 +0000 (18:14 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 28 Aug 2014 00:14:08 +0000 (18:14 -0600)
src/acl/AtStep.cc
src/acl/AtStepData.cc
src/ssl/bio.cc
src/ssl/support.cc
src/ssl/support.h
src/tunnel.cc

index 0e5ebff836814141f70bc41bdacc719962338dc7..b59397464c3310f1c95be0aea0abcbc7bedb3aba 100644 (file)
@@ -2,9 +2,9 @@
 
 #if USE_OPENSSL
 
-#include "acl/Checklist.h"
 #include "acl/AtStep.h"
 #include "acl/AtStepData.h"
+#include "acl/Checklist.h"
 #include "client_side.h"
 #include "ssl/ServerBump.h"
 
index e052eb8ca3b8a3bb268c89c2091d338eda8507fd..3e0ac87481a28c6e300449d0b32128b282a9ef4b 100644 (file)
@@ -2,8 +2,8 @@
 
 #if USE_OPENSSL
 
-#include "acl/Checklist.h"
 #include "acl/AtStepData.h"
+#include "acl/Checklist.h"
 #include "cache_cf.h"
 #include "Debug.h"
 #include "wordlist.h"
index 86d6b882da11a6a54bc11e90791a6058144bb8b5..5270e73a6aec341fe636b6ff6d53414c4c20a7d4 100644 (file)
@@ -10,9 +10,9 @@
 #if USE_OPENSSL
 
 #include "comm.h"
-#include "ip/Address.h"
 #include "fde.h"
 #include "globals.h"
+#include "ip/Address.h"
 #include "Mem.h"
 #include "ssl/bio.h"
 
@@ -70,7 +70,6 @@ Ssl::Bio::Link(SSL *ssl, BIO *bio)
     SSL_set_info_callback(ssl, &squid_ssl_info); // does not provide diagnostic
 }
 
-
 Ssl::Bio::Bio(const int anFd): fd_(anFd)
 {
     debugs(83, 7, "Bio constructed, this=" << this << " FD " << fd_);
@@ -303,7 +302,6 @@ Ssl::ServerBio::read(char *buf, int size, BIO *table)
     return bytes;
 }
 
-
 // This function makes the required checks to examine if the client hello
 // message is compatible with the features provided by OpenSSL toolkit.
 // If the features are compatible and can be supported it tries to rewrite SSL
@@ -923,7 +921,7 @@ Ssl::Bio::sslFeatures::print(std::ostream &os) const
 {
     static std::string buf;
     return os << "v" << sslVersion <<
-        " SNI:" << (serverName.isEmpty() ? SBuf("-") : serverName) <<
+           " SNI:" << (serverName.isEmpty() ? SBuf("-") : serverName) <<
            " comp:" << compressMethod <<
            " Ciphers:" << clientRequestedCiphers <<
            " Random:" << objToString(client_random, SSL3_RANDOM_SIZE) <<
index 2e26a2c921208eb88ad598f816187e94919c7cd1..a9a21792333ff152d8b6ae0cedd333876a630be6 100644 (file)
@@ -1023,7 +1023,6 @@ int Ssl::OpenSSLtoSquidSSLVersion(int sslVersion)
         return 1;
 }
 
-
 #if OPENSSL_VERSION_NUMBER < 0x00909000L
 SSL_METHOD *
 #else
index 2cfb469f01d16bc9a4916f3a9f1efaf59a3b8239..dfbf20b47ce27c1ef3a636de358c6981ad1d5407 100644 (file)
@@ -255,7 +255,6 @@ bool configureSSL(SSL *ssl, CertificateProperties const &properties, AnyP::PortC
  */
 bool configureSSLUsingPkeyAndCertFromMemory(SSL *ssl, const char *data, AnyP::PortCfg &port);
 
-
 /**
   \ingroup ServerProtocolSSLAPI
   * Adds the certificates in certList to the certificate chain of the SSL context
index e89f35f66fcef80eb62242823d839b4436e42783..020749c7138dfcef3820fa652dbb809cdc3a1bb2 100644 (file)
@@ -44,8 +44,8 @@
 #include "comm/Write.h"
 #include "errorpage.h"
 #include "fde.h"
-#include "globals.h"
 #include "FwdState.h"
+#include "globals.h"
 #include "http.h"
 #include "HttpRequest.h"
 #include "HttpStateFlags.h"
@@ -1140,7 +1140,6 @@ switchToTunnel(HttpRequest *request, int *status_ptr, Comm::ConnectionPointer &c
         }
     }
 
-
     comm_add_close_handler(tunnelState->client.conn->fd,
                            tunnelClientClosed,
                            tunnelState);