1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-24 01:41:35 +03:00

Create configuration option to bypass the mbedtls_ssl_set_hostname check

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2025-02-13 13:46:58 +01:00
parent 0178dc9946
commit 7656ad7b9f
3 changed files with 44 additions and 0 deletions

View File

@ -229,6 +229,7 @@ def crypto_adapter(adapter):
DEPRECATED = frozenset([
'MBEDTLS_PSA_CRYPTO_SE_C',
'MBEDTLS_SSL_CLI_ALLOW_WEAK_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME',
])
def no_deprecated_adapter(adapter):
"""Modify an adapter to disable deprecated symbols.