mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-26 18:20:21 +00:00
Remove unnecessary check
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
79dc6dad81
commit
e4b3f75298
@ -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++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user