mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-05 21:15:09 +00:00
Special-case the Everest option in 1.x
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
@@ -116,6 +116,13 @@ def dependencies_of_setting(cfg: config_common.Config,
|
||||
return 'MBEDTLS_SSL_CLI_C:MBEDTLS_SSL_SRV_C:MBEDTLS_SSL_PROTO_DTLS'
|
||||
if name.startswith('MBEDTLS_SSL_'):
|
||||
return 'MBEDTLS_SSL_CLI_C:MBEDTLS_SSL_SRV_C'
|
||||
if name == 'MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED' and \
|
||||
not build_tree.is_mbedtls_3_6():
|
||||
# In 1.x the module ecdh.c is removed. This option remains, with its
|
||||
# historical name for compatibility. It is still only relevant when
|
||||
# the built-in implementation of ECDH is enabled, but this condition
|
||||
# is no longer expressed as MBEDTLS_ECDH_C.
|
||||
return 'MBEDTLS_PSA_BUILTIN_ALG_ECDH'
|
||||
for pos in re.finditer(r'_', name):
|
||||
super_name = name[:pos.start()] + '_C'
|
||||
if cfg.known(super_name):
|
||||
|
||||
Reference in New Issue
Block a user