Skip to content

Commit d975184

Browse files
Merge pull request Mbed-TLS#9902 from ronald-cron-arm/crypto-config-default-path-3.6
Simplify crypto config default path setting
2 parents 6f834e9 + b248b50 commit d975184

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/config.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,7 @@ class CryptoConfigFile(config_common.ConfigFile):
286286
# Temporary, while Mbed TLS does not just rely on the TF-PSA-Crypto
287287
# build system to build its crypto library. When it does, the
288288
# condition can just be removed.
289-
_path_in_tree = ('include/psa/crypto_config.h'
290-
if not os.path.isdir(os.path.join(os.path.dirname(__file__),
291-
os.pardir,
292-
'tf-psa-crypto')) else
293-
'tf-psa-crypto/include/psa/crypto_config.h')
289+
_path_in_tree = 'include/psa/crypto_config.h'
294290
default_path = [_path_in_tree,
295291
os.path.join(os.path.dirname(__file__),
296292
os.pardir,

0 commit comments

Comments
 (0)