Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 358bf6a

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 8823a5c commit 358bf6a

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
@@ -499,7 +499,7 @@ bool CipherBase::InitAuthenticated(const char* cipher_type,
499499
// TODO(tniessen) Support CCM decryption in FIPS mode
500500
if (kind_ == kDecipher && ncrypto::isFipsEnabled()) {
501501
THROW_ERR_CRYPTO_UNSUPPORTED_OPERATION(
502-
env(), "CCM encryption not supported in FIPS mode");
502+
env(), "CCM decryption not supported in FIPS mode");
503503
return false;
504504
}
505505

0 commit comments

Comments
 (0)