Remove unnecessary check
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
79dc6dad81
commit
e4b3f75298
1 changed files with 3 additions and 6 deletions
|
@ -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 a new issue