Skip to content

Commit

Permalink
positive feature probe
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Dec 2, 2024
1 parent 00c6903 commit 353a860
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/unit/s2n_random_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,14 @@ int main(int argc, char **argv)
* https://github.com/aws/s2n-tls/issues/4900
*/

{
if (s2n_libcrypto_is_openssl() && !s2n_is_in_fips_mode()) {
#if !defined(OPENSSL_NO_ENGINE) && !defined(S2N_LIBCRYPTO_SUPPORTS_ENGINE)
FAIL_MSG("Expected ENGINE feature probe to be enabled");
#endif
}
};

/* s2n_supports_custom_rand */
{
if (s2n_supports_custom_rand()) {
Expand Down

0 comments on commit 353a860

Please sign in to comment.