]> 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:36 +0000 (19:55 +0100)
commit21ef28e713dd3f69d444545ae3f08ec72d3b202d
treeecd08a0273c8cc71b666850375c96ecfe594acc1
parent1263de84e5c11ec6753d8f48c562b1472e19aa02
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)

(cherry picked from commit 2986908cc729768f540596df356279a7ba52bc7e)
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