Skip to content

Commit

Permalink
src/ssl_crypto.c: revert FIPS gate threshold in wolfSSL_AES_decrypt()…
Browse files Browse the repository at this point in the history
… changed in d85c108 -- original value was correct, misdiagnosed by faulty test.
  • Loading branch information
douzzer committed Dec 6, 2024
1 parent 3dcc12b commit 27e0df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ssl_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -3041,7 +3041,7 @@ void wolfSSL_AES_decrypt(const unsigned char* input, unsigned char* output,
}
else
#if !defined(HAVE_SELFTEST) && \
(!defined(HAVE_FIPS) || (defined(FIPS_VERSION_GE) && FIPS_VERSION3_GE(5,2,1)))
(!defined(HAVE_FIPS) || (defined(FIPS_VERSION_GE) && FIPS_VERSION3_GE(5,3,0)))
/* Decrypt a block with wolfCrypt AES. */
if (wc_AesDecryptDirect((Aes*)key, output, input) != 0) {
WOLFSSL_MSG("wc_AesDecryptDirect failed");
Expand Down

0 comments on commit 27e0df0

Please sign in to comment.