summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/DefaultCertificateVerifier.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-23 21:17:04 +0000
commit59788b8663f1f05a95b7afbbc6d2846dae11c96a (patch)
treec3ed292df270f11157decb83827d9af4144db52d /cpp/src/IceSSL/DefaultCertificateVerifier.cpp
parentfile run.py was initially added on branch location. (diff)
downloadice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.bz2
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.xz
ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.zip
removed spaces after keywords
Diffstat (limited to 'cpp/src/IceSSL/DefaultCertificateVerifier.cpp')
-rw-r--r--cpp/src/IceSSL/DefaultCertificateVerifier.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/IceSSL/DefaultCertificateVerifier.cpp b/cpp/src/IceSSL/DefaultCertificateVerifier.cpp
index 3df5f085e98..4fd1789cd62 100644
--- a/cpp/src/IceSSL/DefaultCertificateVerifier.cpp
+++ b/cpp/src/IceSSL/DefaultCertificateVerifier.cpp
@@ -38,11 +38,11 @@ IceSSL::OpenSSL::DefaultCertificateVerifier::verify(int preVerifyOkay, X509_STOR
int verifyDepth = SSL_get_verify_depth(sslConnection);
// A verify error has been encountered.
- if (verifyError != X509_V_OK)
+ if(verifyError != X509_V_OK)
{
// We have a limited verify depth, and we have had to delve too deeply
// into the certificate chain to find an acceptable root certificate.
- if ((verifyDepth != -1) && (verifyDepth < errorDepth))
+ if((verifyDepth != -1) && (verifyDepth < errorDepth))
{
verifyError = X509_V_ERR_CERT_CHAIN_TOO_LONG;
X509_STORE_CTX_set_error(x509StoreContext, verifyError);
@@ -53,7 +53,7 @@ IceSSL::OpenSSL::DefaultCertificateVerifier::verify(int preVerifyOkay, X509_STOR
}
// Only if ICE_PROTOCOL level logging is on do we worry about this.
- if (_traceLevels->security >= IceSSL::SECURITY_PROTOCOL)
+ if(_traceLevels->security >= IceSSL::SECURITY_PROTOCOL)
{
char buf[256];
@@ -65,14 +65,14 @@ IceSSL::OpenSSL::DefaultCertificateVerifier::verify(int preVerifyOkay, X509_STOR
outStringStream << "depth = " << dec << errorDepth << ":" << buf << std::endl;
- if (!preVerifyOkay)
+ if(!preVerifyOkay)
{
outStringStream << "verify error: num = " << verifyError << " : "
<< X509_verify_cert_error_string(verifyError) << endl;
}
- switch (verifyError)
+ switch(verifyError)
{
case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:
{