1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-07 06:42:56 +03:00

Fix comment in dlopen.c to remove reference to deprecated API

Signed-off-by: Ari Weiler-Ofek <ari.weiler-ofek@arm.com>
This commit is contained in:
Ari Weiler-Ofek
2025-07-15 14:08:24 +01:00
parent abcfd4c160
commit c3d54b619e

View File

@@ -105,8 +105,7 @@ int main(void)
dlsym(crypto_so, "psa_hash_compute"); dlsym(crypto_so, "psa_hash_compute");
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
/* Use psa_hash_compute from PSA Crypto API instead of deprecated mbedtls_md_list() /* Demonstrate hashing a message with PSA Crypto */
* to demonstrate runtime linking of libmbedcrypto / libtfpsacrypto */
CHECK_DLERROR("dlsym", "psa_crypto_init"); CHECK_DLERROR("dlsym", "psa_crypto_init");
CHECK_DLERROR("dlsym", "psa_hash_compute"); CHECK_DLERROR("dlsym", "psa_hash_compute");