]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Fri, 7 Jun 2013 00:18:11 +0000 (18:18 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Fri, 7 Jun 2013 00:18:11 +0000 (18:18 -0600)
src/ssl/cert_validate_message.cc
src/ssl/support.cc
src/ssl/support.h

index 4559b0a0ea283be830288b67dde8134c9ba28082..15e521335492b73bcdd605e3c8f550de923f560c 100644 (file)
@@ -32,7 +32,7 @@ Ssl::CertValidationMsg::composeRequest(CertValidationRequest const &vcert)
             body +="\n";
             body = body + param_error_name + xitoa(i) + "=" + GetErrorName(err->element.code) + "\n";
             int errorCertPos = -1;
-            if (err->element.cert.get()) 
+            if (err->element.cert.get())
                 errorCertPos = sk_X509_find(peerCerts, err->element.cert.get());
             if (errorCertPos < 0) {
                 // assert this error ?
index 105d1e322e2475e2752a5b908d8d7b57dee3fe97..ebdbc634a8389d682748e839324b363cd51a02b6 100644 (file)
@@ -1601,7 +1601,7 @@ bool Ssl::generateUntrustedCert(X509_Pointer &untrustedCert, EVP_PKEY_Pointer &u
 }
 
 Ssl::CertError::CertError(ssl_error_t anErr, X509 *aCert): code(anErr)
-{ 
+{
     cert.resetAndLock(aCert);
 }
 
@@ -1611,9 +1611,9 @@ Ssl::CertError::CertError(CertError const &err): code(err.code)
 }
 
 Ssl::CertError &
-Ssl::CertError::operator = (const CertError &old) 
+Ssl::CertError::operator = (const CertError &old)
 {
-    code = old.code; 
+    code = old.code;
     cert.resetAndLock(old.cert.get());
     return *this;
 }
index e2ea797c4b479b862c313451ff88e482167cdaf5..0a183b606ded91f021a4bb7294bfad553b4f4f09 100644 (file)
@@ -76,7 +76,8 @@ typedef CbDataList<Ssl::ssl_error_t> Errors;
 
 /// An SSL certificate-related error.
 /// Pairs an error code with the certificate experiencing the error.
-class CertError {
+class CertError
+{
 public:
     ssl_error_t code; ///< certificate error code
     X509_Pointer cert; ///< certificate with the above error code