Skip to content

Commit

Permalink
Adapt generate_query_config.pl for Mbed TLS 3.6 and development
Browse files Browse the repository at this point in the history
This commit adapts the file generate_query_config.pl to work for both
Mbed TLS 3.6 and development versions.

Signed-off-by: Harry Ramsey <[email protected]>
  • Loading branch information
Harry-Ramsey committed Jan 8, 2025
1 parent fc6ab67 commit 0fcf401
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/generate_query_config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
my ($mbedtls_config_file, $psa_crypto_config_file, $query_config_format_file, $query_config_file);

my $default_mbedtls_config_file = "./include/mbedtls/mbedtls_config.h";
my $default_psa_crypto_config_file = "./tf-psa-crypto/include/psa/crypto_config.h";
my $default_psa_crypto_config_file;
if (-d "tf-psa-crypto") {
$default_psa_crypto_config_file = "./tf-psa-crypto/include/psa/crypto_config.h";
}
else {
$default_psa_crypto_config_file = "./include/psa/crypto_config.h";
}
my $default_query_config_format_file = "./scripts/data_files/query_config.fmt";
my $default_query_config_file = "./programs/test/query_config.c";

Expand Down

0 comments on commit 0fcf401

Please sign in to comment.