summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2012-04-15 21:14:12 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-17 18:37:16 (GMT)
commitab8d948710dae16449cbe25fe6f7c95bfa5cf773 (patch)
treebcdc34c00139ffc7c62ac3e92c701f3671fd02ce /Sluift/SluiftException.h
parent7c683df1c9cde6ac8f1e4ffd04ab9a1b5a620348 (diff)
downloadswift-contrib-ab8d948710dae16449cbe25fe6f7c95bfa5cf773.zip
swift-contrib-ab8d948710dae16449cbe25fe6f7c95bfa5cf773.tar.bz2
Fixing some clang warnings.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Sluift/SluiftException.h')
-rw-r--r--Sluift/SluiftException.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Sluift/SluiftException.h b/Sluift/SluiftException.h
index 92326b6..28393ab 100644
--- a/Sluift/SluiftException.h
+++ b/Sluift/SluiftException.h
@@ -31,12 +31,15 @@ namespace Swift {
case ClientError::NoSupportedAuthMechanismsError: reason += "Authentication mechanisms not supported"; break;
case ClientError::UnexpectedElementError: reason += "Unexpected response"; break;
case ClientError::ResourceBindError: reason += "Error binding resource"; break;
+ case ClientError::RevokedError: reason += "Certificate got revoked"; break;
+ case ClientError::RevocationCheckFailedError: reason += "Failed to do revokation check"; break;
case ClientError::SessionStartError: reason += "Error starting session"; break;
case ClientError::StreamError: reason += "Stream error"; break;
case ClientError::TLSError: reason += "Encryption error"; break;
case ClientError::ClientCertificateLoadError: reason += "Error loading certificate (Invalid password?)"; break;
case ClientError::ClientCertificateError: reason += "Certificate not authorized"; break;
case ClientError::UnknownCertificateError: reason += "Unknown certificate"; break;
+ case ClientError::CertificateCardRemoved: reason += "Certificate card removed"; break;
case ClientError::CertificateExpiredError: reason += "Certificate has expired"; break;
case ClientError::CertificateNotYetValidError: reason += "Certificate is not yet valid"; break;
case ClientError::CertificateSelfSignedError: reason += "Certificate is self-signed"; break;