Skip to content

Commit 79509c2

Browse files
kyungrae2002aduh95
authored andcommitted
crypto: correct CCM decryption FIPS error message
Signed-off-by: kyungrae <[email protected]> PR-URL: #65450 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 5468337 commit 79509c2

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
@@ -444,7 +444,7 @@ bool CipherBase::InitAuthenticated(const char* cipher_type,
444444
// TODO(tniessen) Support CCM decryption in FIPS mode
445445
if (kind_ == kDecipher && ncrypto::isFipsEnabled()) {
446446
THROW_ERR_CRYPTO_UNSUPPORTED_OPERATION(
447-
env(), "CCM encryption not supported in FIPS mode");
447+
env(), "CCM decryption not supported in FIPS mode");
448448
return false;
449449
}
450450

0 commit comments

Comments
 (0)