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:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user