Skip to content

Commit e629556

Browse files
committed
crypto: correct CCM decryption FIPS error message
Signed-off-by: kyungrae <kyungrae2002@gmail.com>
1 parent 11a9998 commit e629556

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/crypto/crypto_cipher.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ bool CipherBase::InitAuthenticated(const char* cipher_type,
439439
// TODO(tniessen) Support CCM decryption in FIPS mode
440440
if (kind_ == kDecipher && ncrypto::isFipsEnabled()) {
441441
THROW_ERR_CRYPTO_UNSUPPORTED_OPERATION(
442-
env(), "CCM encryption not supported in FIPS mode");
442+
env(), "CCM decryption not supported in FIPS mode");
443443
return false;
444444
}
445445

0 commit comments

Comments
 (0)