mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
pkwrite: fix return value in pk_get_type_ext()
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
3cc486aa11
commit
ad6d016b8f
|
|
@ -527,7 +527,7 @@ static mbedtls_pk_type_t pk_get_type_ext(const mbedtls_pk_context *pk)
|
|||
} else if (PSA_KEY_TYPE_IS_RSA(opaque_key_type)) {
|
||||
return MBEDTLS_PK_RSA;
|
||||
} else {
|
||||
return MBEDTLS_ERR_PK_FEATURE_UNAVAILABLE;
|
||||
return MBEDTLS_PK_NONE;
|
||||
}
|
||||
} else
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue