CryptoPkg: Match OpenSSL's default security level

`TlsNew()` explicitly sets the default security level to 3. The current
default in OpenSSL is security level 2 which is inherited by Linux
distributions like Ubuntu 26.04. This is also the security level that
was announced in https://edk2.groups.io/g/devel/topic/115039926.

Signed-off-by: Jean-Tiare Le Bigot <jt@yadutaf.fr>
This commit is contained in:
Jean-Tiare Le Bigot 2026-06-16 11:10:45 +02:00 committed by mergify[bot]
parent 3ff3b0e43f
commit b3f19fb5ce

View file

@ -185,11 +185,6 @@ TlsNew (
return NULL;
}
//
// This retains compatibility with previous version of OpenSSL.
//
SSL_set_security_level (TlsConn->Ssl, 3);
//
// Initialize the created SSL Object
//