summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypt/hybridcrypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt/hybridcrypt.cpp b/crypt/hybridcrypt.cpp
index ea69d61..4865364 100644
--- a/crypt/hybridcrypt.cpp
+++ b/crypt/hybridcrypt.cpp
@@ -568,7 +568,7 @@ QByteArray HybridCrypt::decryptAesData(EVP_PKEY *pkey, QByteArray data)
if (EVP_PKEY_decrypt(ctx, (unsigned char *) out.data(), &outlen,
(unsigned char *) data.data(), data.length()) <= 0)
{
- // Wenn der Fehler von OAEP kommt, ignoriere fürs erste
+ // Wenn der Fehler vom Padding kommt, ignoriere fürs erste
if (ERR_GET_LIB(ERR_peek_error()) == ERR_LIB_RSA &&
(ERR_GET_REASON(ERR_peek_error()) == RSA_R_OAEP_DECODING_ERROR ||
ERR_GET_REASON(ERR_peek_error()) == RSA_R_PADDING_CHECK_FAILED))