summaryrefslogtreecommitdiff
path: root/src/tests.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-08 22:14:07 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-08 22:17:10 +0100
commit76c93d23c073ef8b885503b7d28a31ffe2add6d8 (patch)
tree1dd2d22a197bc40c5330e516969a7cb1ae9bc96f /src/tests.h
parent559a144f6bbcbb611453f82e655dd7438c14d1a7 (diff)
downloadgnutls-76c93d23c073ef8b885503b7d28a31ffe2add6d8.tar.gz
reindented code
Diffstat (limited to 'src/tests.h')
-rw-r--r--src/tests.h89
1 files changed, 44 insertions, 45 deletions
diff --git a/src/tests.h b/src/tests.h
index 6119a24d8f..9f0e348f50 100644
--- a/src/tests.h
+++ b/src/tests.h
@@ -18,51 +18,50 @@
* <http://www.gnu.org/licenses/>.
*/
-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_server (gnutls_session_t state);
-test_code_t test_record_padding (gnutls_session_t state);
-test_code_t test_hello_extension (gnutls_session_t state);
-test_code_t test_heartbeat_extension (gnutls_session_t state);
-test_code_t test_small_records (gnutls_session_t state);
-test_code_t test_dhe (gnutls_session_t state);
-test_code_t test_dhe_group (gnutls_session_t state);
-test_code_t test_ssl3 (gnutls_session_t state);
-test_code_t test_aes (gnutls_session_t state);
-test_code_t test_camellia (gnutls_session_t state);
-test_code_t test_md5 (gnutls_session_t state);
-test_code_t test_sha (gnutls_session_t state);
-test_code_t test_3des (gnutls_session_t state);
-test_code_t test_arcfour (gnutls_session_t state);
-test_code_t test_tls1 (gnutls_session_t state);
-test_code_t test_safe_renegotiation (gnutls_session_t state);
-test_code_t test_safe_renegotiation_scsv (gnutls_session_t state);
-test_code_t test_tls1_1 (gnutls_session_t state);
-test_code_t test_tls1_2 (gnutls_session_t state);
-test_code_t test_tls1_1_fallback (gnutls_session_t state);
-test_code_t test_tls_disable0 (gnutls_session_t state);
-test_code_t test_tls_disable1 (gnutls_session_t state);
-test_code_t test_tls_disable2 (gnutls_session_t state);
-test_code_t test_rsa_pms (gnutls_session_t state);
-test_code_t test_max_record_size (gnutls_session_t state);
-test_code_t test_version_rollback (gnutls_session_t state);
-test_code_t test_anonymous (gnutls_session_t state);
-test_code_t test_unknown_ciphersuites (gnutls_session_t state);
-test_code_t test_openpgp1 (gnutls_session_t state);
-test_code_t test_bye (gnutls_session_t state);
-test_code_t test_certificate (gnutls_session_t state);
-test_code_t test_server_cas (gnutls_session_t state);
-test_code_t test_session_resume2 (gnutls_session_t state);
-test_code_t test_rsa_pms_version_check (gnutls_session_t session);
-test_code_t test_version_oob (gnutls_session_t session);
-test_code_t test_zlib (gnutls_session_t session);
-int _test_srp_username_callback (gnutls_session_t session,
- char **username, char **password);
+test_code_t test_server(gnutls_session_t state);
+test_code_t test_record_padding(gnutls_session_t state);
+test_code_t test_hello_extension(gnutls_session_t state);
+test_code_t test_heartbeat_extension(gnutls_session_t state);
+test_code_t test_small_records(gnutls_session_t state);
+test_code_t test_dhe(gnutls_session_t state);
+test_code_t test_dhe_group(gnutls_session_t state);
+test_code_t test_ssl3(gnutls_session_t state);
+test_code_t test_aes(gnutls_session_t state);
+test_code_t test_camellia(gnutls_session_t state);
+test_code_t test_md5(gnutls_session_t state);
+test_code_t test_sha(gnutls_session_t state);
+test_code_t test_3des(gnutls_session_t state);
+test_code_t test_arcfour(gnutls_session_t state);
+test_code_t test_tls1(gnutls_session_t state);
+test_code_t test_safe_renegotiation(gnutls_session_t state);
+test_code_t test_safe_renegotiation_scsv(gnutls_session_t state);
+test_code_t test_tls1_1(gnutls_session_t state);
+test_code_t test_tls1_2(gnutls_session_t state);
+test_code_t test_tls1_1_fallback(gnutls_session_t state);
+test_code_t test_tls_disable0(gnutls_session_t state);
+test_code_t test_tls_disable1(gnutls_session_t state);
+test_code_t test_tls_disable2(gnutls_session_t state);
+test_code_t test_rsa_pms(gnutls_session_t state);
+test_code_t test_max_record_size(gnutls_session_t state);
+test_code_t test_version_rollback(gnutls_session_t state);
+test_code_t test_anonymous(gnutls_session_t state);
+test_code_t test_unknown_ciphersuites(gnutls_session_t state);
+test_code_t test_openpgp1(gnutls_session_t state);
+test_code_t test_bye(gnutls_session_t state);
+test_code_t test_certificate(gnutls_session_t state);
+test_code_t test_server_cas(gnutls_session_t state);
+test_code_t test_session_resume2(gnutls_session_t state);
+test_code_t test_rsa_pms_version_check(gnutls_session_t session);
+test_code_t test_version_oob(gnutls_session_t session);
+test_code_t test_zlib(gnutls_session_t session);
+int _test_srp_username_callback(gnutls_session_t session,
+ char **username, char **password);
-test_code_t test_ecdhe_curve (gnutls_session_t session);
-test_code_t test_ecdhe (gnutls_session_t session);
-test_code_t test_aes_gcm (gnutls_session_t session);
-test_code_t test_sha256 (gnutls_session_t session);
+test_code_t test_ecdhe_curve(gnutls_session_t session);
+test_code_t test_ecdhe(gnutls_session_t session);
+test_code_t test_aes_gcm(gnutls_session_t session);
+test_code_t test_sha256(gnutls_session_t session);