diff options
Diffstat (limited to 'src/crypt/cryptclassnullcipher.h')
| -rw-r--r-- | src/crypt/cryptclassnullcipher.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/crypt/cryptclassnullcipher.h b/src/crypt/cryptclassnullcipher.h index 6b3c284..ae05ef6 100644 --- a/src/crypt/cryptclassnullcipher.h +++ b/src/crypt/cryptclassnullcipher.h @@ -3,7 +3,11 @@ #include "cryptclassbase.h" +#include <QDebug> + #include <openssl/evp.h> +#include <openssl/err.h> +#include <openssl/conf.h> /** @@ -23,10 +27,16 @@ public: //Methods /** * \brief Class Constructor. * - * Class Constructor. Does nothing. + * Class Constructor. Initializes openssl. */ CryptClassNullCipher(); + /** + * \brief Class Destructor. + * + * Class Destructor. Deinitializes openssl. + */ + ~CryptClassNullCipher(); /** * \brief Overloaded Method to encrypt present unencrypted data using the current key. @@ -44,6 +54,9 @@ public: //Methods * Data is copied from m_cryptText to m_clearText. */ virtual void decrypt(); + +private: + void handleErrors(); }; #endif // CRYPTCLASSNULLCIPHER_H |
