Fix coding style.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-05-09 11:44:57 +02:00
parent d06c6fc45b
commit 2d8076978a
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -862,14 +862,11 @@ const mbedtls_md_info_t *mbedtls_md_info_from_string(const char *md_name)
#if defined(MBEDTLS_SHA3_C)
if (!strcmp("SHA3-224", md_name)) {
return mbedtls_md_info_from_type(MBEDTLS_MD_SHA3_224);
}
else if (!strcmp("SHA3-256", md_name)) {
} else if (!strcmp("SHA3-256", md_name)) {
return mbedtls_md_info_from_type(MBEDTLS_MD_SHA3_256);
}
else if (!strcmp("SHA3-384", md_name)) {
} else if (!strcmp("SHA3-384", md_name)) {
return mbedtls_md_info_from_type(MBEDTLS_MD_SHA3_384);
}
else if (!strcmp("SHA3-512", md_name)) {
} else if (!strcmp("SHA3-512", md_name)) {
return mbedtls_md_info_from_type(MBEDTLS_MD_SHA3_512);
}
#endif