From a5891d75997c9529b9fc5c273df8bd0df4093cd0 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 7 Nov 2005 23:27:56 +0000 Subject: Use GNU coding style. --- src/tests.h | 75 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 38 insertions(+), 37 deletions(-) (limited to 'src/tests.h') diff --git a/src/tests.h b/src/tests.h index 29db651a5c..a1b4560957 100644 --- a/src/tests.h +++ b/src/tests.h @@ -1,39 +1,40 @@ -typedef enum { - TEST_SUCCEED, TEST_FAILED, TEST_UNSURE, TEST_IGNORE +typedef enum +{ + TEST_SUCCEED, TEST_FAILED, TEST_UNSURE, TEST_IGNORE } test_code_t; -test_code_t test_srp(gnutls_session state); -test_code_t test_server(gnutls_session state); -test_code_t test_export(gnutls_session state); -test_code_t test_export_info(gnutls_session state); -test_code_t test_hello_extension(gnutls_session state); -test_code_t test_dhe(gnutls_session state); -test_code_t test_dhe_group(gnutls_session state); -test_code_t test_ssl3(gnutls_session state); -test_code_t test_aes(gnutls_session state); -test_code_t test_md5(gnutls_session state); -test_code_t test_sha(gnutls_session state); -test_code_t test_rmd(gnutls_session state); -test_code_t test_3des(gnutls_session state); -test_code_t test_arcfour(gnutls_session state); -test_code_t test_arcfour_40(gnutls_session state); -test_code_t test_tls1(gnutls_session state); -test_code_t test_tls1_1(gnutls_session state); -test_code_t test_tls1_1_fallback(gnutls_session state); -test_code_t test_tls_disable(gnutls_session state); -test_code_t test_rsa_pms(gnutls_session state); -test_code_t test_max_record_size(gnutls_session state); -test_code_t test_version_rollback(gnutls_session state); -test_code_t test_anonymous(gnutls_session state); -test_code_t test_unknown_ciphersuites(gnutls_session state); -test_code_t test_openpgp1(gnutls_session state); -test_code_t test_bye(gnutls_session state); -test_code_t test_certificate(gnutls_session state); -test_code_t test_server_cas(gnutls_session state); -test_code_t test_session_resume2(gnutls_session state); -test_code_t test_rsa_pms_version_check(gnutls_session session); -test_code_t test_version_oob(gnutls_session session); -test_code_t test_zlib(gnutls_session session); -test_code_t test_lzo(gnutls_session session); -int _test_srp_username_callback(gnutls_session session, unsigned int times, - char **username, char **password); +test_code_t test_srp (gnutls_session state); +test_code_t test_server (gnutls_session state); +test_code_t test_export (gnutls_session state); +test_code_t test_export_info (gnutls_session state); +test_code_t test_hello_extension (gnutls_session state); +test_code_t test_dhe (gnutls_session state); +test_code_t test_dhe_group (gnutls_session state); +test_code_t test_ssl3 (gnutls_session state); +test_code_t test_aes (gnutls_session state); +test_code_t test_md5 (gnutls_session state); +test_code_t test_sha (gnutls_session state); +test_code_t test_rmd (gnutls_session state); +test_code_t test_3des (gnutls_session state); +test_code_t test_arcfour (gnutls_session state); +test_code_t test_arcfour_40 (gnutls_session state); +test_code_t test_tls1 (gnutls_session state); +test_code_t test_tls1_1 (gnutls_session state); +test_code_t test_tls1_1_fallback (gnutls_session state); +test_code_t test_tls_disable (gnutls_session state); +test_code_t test_rsa_pms (gnutls_session state); +test_code_t test_max_record_size (gnutls_session state); +test_code_t test_version_rollback (gnutls_session state); +test_code_t test_anonymous (gnutls_session state); +test_code_t test_unknown_ciphersuites (gnutls_session state); +test_code_t test_openpgp1 (gnutls_session state); +test_code_t test_bye (gnutls_session state); +test_code_t test_certificate (gnutls_session state); +test_code_t test_server_cas (gnutls_session state); +test_code_t test_session_resume2 (gnutls_session state); +test_code_t test_rsa_pms_version_check (gnutls_session session); +test_code_t test_version_oob (gnutls_session session); +test_code_t test_zlib (gnutls_session session); +test_code_t test_lzo (gnutls_session session); +int _test_srp_username_callback (gnutls_session session, unsigned int times, + char **username, char **password); -- cgit v1.2.1