]> git.ipfire.org Git - thirdparty/openssl.git/commit
Ensure the tests pass even if the default seclevel has been changed
authorMatt Caswell <matt@openssl.org>
Tue, 24 Dec 2024 09:29:07 +0000 (09:29 +0000)
committerTomas Mraz <tomas@openssl.org>
Thu, 26 Dec 2024 18:55:17 +0000 (19:55 +0100)
commit2986908cc729768f540596df356279a7ba52bc7e
treee05a207342bf85124a6cdaec8619d6100c2a992e
parent5b33d3e158fc93d30c0dc50953a53b02623fe3c5
Ensure the tests pass even if the default seclevel has been changed

The compile time default TLS security level can be changed if the user
sets `-DOPENSSL_TLS_SECURITY_LEVEL=x` at configure time (where "x" is some
number, typically 0 or 1).

Since OpenSSL 3.4 tests are failing if the default security level is 0. We
fix the tests for this case.

Fixes #26255

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26256)
test/recipes/70-test_renegotiation.t
test/recipes/70-test_sslmessages.t
test/recipes/70-test_tls13kexmodes.t
test/recipes/70-test_tls13messages.t
test/sslapitest.c