mirror of
https://github.com/espressif/mbedtls.git
synced 2026-08-26 05:09:52 +00:00
Remove unnecessary check
Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
@@ -103,14 +103,11 @@ int main(int argc, char *argv[])
|
||||
list = mbedtls_cipher_list();
|
||||
while (*list) {
|
||||
cipher_info = mbedtls_cipher_info_from_type(*list);
|
||||
if (cipher_info) {
|
||||
const char *name = mbedtls_cipher_info_get_name(cipher_info);
|
||||
const char *name = mbedtls_cipher_info_get_name(cipher_info);
|
||||
|
||||
if (name) {
|
||||
mbedtls_printf(" %s\n", mbedtls_cipher_info_get_name(cipher_info));
|
||||
}
|
||||
if (name) {
|
||||
mbedtls_printf(" %s\n", mbedtls_cipher_info_get_name(cipher_info));
|
||||
}
|
||||
|
||||
list++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user