add some more errors to the enums

svn path=/trunk/kdesupport/qca/; revision=605015
This commit is contained in:
Justin Karneges 2006-11-15 00:14:30 +00:00
parent 37d1d23487
commit 6bcb0fa503
2 changed files with 7 additions and 3 deletions

View File

@ -257,9 +257,12 @@ namespace QCA
*/
enum Error
{
ErrorInit, ///< problem starting up %TLS
ErrorHandshake, ///< problem during the negotiation
ErrorCrypt ///< problem at anytime after
ErrorSignerExpired, ///< local certificate is expired
ErrorSignerInvalid, ///< local certificate is invalid in some way
ErrorKeyMismatch, ///< certificate and private key don't match
ErrorInit, ///< problem starting up %TLS
ErrorHandshake, ///< problem during the negotiation
ErrorCrypt ///< problem at anytime after
};
/**

View File

@ -335,6 +335,7 @@ else
ErrorEncryptUntrusted, ///< encrypting key is untrusted
ErrorEncryptInvalid, ///< encrypting key is invalid in some way
ErrorNeedCard, ///< pgp card is missing
ErrorKeyMismatch, ///< certificate and private key don't match
ErrorUnknown ///< other error
};