Skip to content

Commit da23da4

Browse files
tomi-fontcarlescufi
authored andcommitted
[nrf noup] remove usage of mbedtls/version.h
Header is gone from TF-PSA-Crypto. Noup before updating TF-M to v2.3. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
1 parent a797b52 commit da23da4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

secure_fw/partitions/crypto/crypto_library.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* \brief This Mbed TLS include is needed to retrieve version information for
4141
* display
4242
*/
43-
#include "mbedtls/version.h"
43+
//#include "mbedtls/version.h"
4444

4545
#ifndef MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER
4646
#error "MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER must be selected in Mbed TLS config file"
@@ -82,7 +82,7 @@ tfm_crypto_library_key_id_t tfm_crypto_library_key_id_init(int32_t owner, psa_ke
8282

8383
char *tfm_crypto_library_get_info(void)
8484
{
85-
memcpy(mbedtls_version_full, MBEDTLS_VERSION_STRING_FULL, sizeof(MBEDTLS_VERSION_STRING_FULL));
85+
//memcpy(mbedtls_version_full, MBEDTLS_VERSION_STRING_FULL, sizeof(MBEDTLS_VERSION_STRING_FULL));
8686
return mbedtls_version_full;
8787
}
8888

0 commit comments

Comments
 (0)