Add test for cipher_list()
diff --git a/tests/suites/test_suite_cipher.function b/tests/suites/test_suite_cipher.function
index b8f1df3..c39da5b 100644
--- a/tests/suites/test_suite_cipher.function
+++ b/tests/suites/test_suite_cipher.function
@@ -12,6 +12,16 @@
*/
/* BEGIN_CASE */
+void cipher_list( )
+{
+ const int *cipher_type;
+
+ for( cipher_type = cipher_list(); *cipher_type != 0; cipher_type++ )
+ TEST_ASSERT( cipher_info_from_type( *cipher_type ) != NULL );
+}
+/* END_CASE */
+
+/* BEGIN_CASE */
void enc_dec_buf( int cipher_id, char *cipher_string, int key_len,
int length_val, int pad_mode )
{