mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-11-09 23:00:03 +08:00
Fix style issues
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
parent
2481daa309
commit
f9b95cedaa
@ -130,9 +130,9 @@ const char *pk_key_type_to_string(const mbedtls_pk_context *pk)
|
|||||||
psa_key_type_t key_type;
|
psa_key_type_t key_type;
|
||||||
|
|
||||||
key_type = mbedtls_pk_get_key_type(pk);
|
key_type = mbedtls_pk_get_key_type(pk);
|
||||||
if(PSA_KEY_TYPE_IS_RSA(key_type)){
|
if (PSA_KEY_TYPE_IS_RSA(key_type)) {
|
||||||
return "RSA";
|
return "RSA";
|
||||||
} else if(PSA_KEY_TYPE_IS_ECC(key_type)){
|
} else if (PSA_KEY_TYPE_IS_ECC(key_type)) {
|
||||||
return "EC";
|
return "EC";
|
||||||
} else {
|
} else {
|
||||||
return "NONE";
|
return "NONE";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user