mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-14 03:55:34 +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();
|
list = mbedtls_cipher_list();
|
||||||
while (*list) {
|
while (*list) {
|
||||||
cipher_info = mbedtls_cipher_info_from_type(*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) {
|
if (name) {
|
||||||
mbedtls_printf(" %s\n", mbedtls_cipher_info_get_name(cipher_info));
|
mbedtls_printf(" %s\n", mbedtls_cipher_info_get_name(cipher_info));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
list++;
|
list++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user