Remove now-redundant guard
fixup "mbedtls_pk_get_psa_attributes: require MBEDTLS_PSA_CRYPTO_C" Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
77faddf93b
commit
43643c4714
1 changed files with 0 additions and 5 deletions
|
@ -577,12 +577,7 @@ int mbedtls_pk_get_psa_attributes(const mbedtls_pk_context *pk,
|
|||
}
|
||||
|
||||
psa_set_key_usage_flags(attributes, more_usage);
|
||||
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
||||
/* Assume that we have all Mbed TLS attributes. When
|
||||
* MBEDTLS_PSA_CRYPTO_CLIENT is enabled but not MBEDTLS_PSA_CRYPTO_C,
|
||||
* we only assume standard PSA functions. */
|
||||
psa_set_key_enrollment_algorithm(attributes, PSA_ALG_NONE);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue