From 5db765c2ee63f0ee6774817cf85fcb4b5078ca4a Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Wed, 27 May 2015 10:47:30 +0200 Subject: Delete misleading comments and a qDebug --- src/crypt/cryptclassnullcipher.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/crypt/cryptclassnullcipher.cpp b/src/crypt/cryptclassnullcipher.cpp index d427efa..1dbc349 100644 --- a/src/crypt/cryptclassnullcipher.cpp +++ b/src/crypt/cryptclassnullcipher.cpp @@ -33,13 +33,9 @@ void CryptClassNullCipher::encrypt() } /* Initialise the encryption operation. IMPORTANT - ensure you use a key - * and IV size appropriate for your cipher - * In this example we are using 256 bit AES (i.e. a 256 bit key). The - * IV size for *most* modes is the same as the block size. For AES this - * is 128 bits */ + * and IV size appropriate for your cipher */ if (1 != EVP_EncryptInit_ex(ctx, EVP_enc_null(), NULL, NULL, NULL)) { - qDebug() << "EVP_EncryptInit_ex"; handleErrors(); } @@ -86,10 +82,7 @@ void CryptClassNullCipher::decrypt() } /* Initialise the decryption operation. IMPORTANT - ensure you use a key - * and IV size appropriate for your cipher - * In this example we are using 256 bit AES (i.e. a 256 bit key). The - * IV size for *most* modes is the same as the block size. For AES this - * is 128 bits */ + * and IV size appropriate for your cipher */ if (1 != EVP_DecryptInit_ex(ctx, EVP_enc_null(), NULL, NULL, NULL)) { handleErrors(); -- cgit v1.2.3-70-g09d2