#include #define SUCCEED 1 #define FAILED 0 #define UNSURE -1 int test_srp( gnutls_session state); int test_export( gnutls_session state); int test_hello_extension( gnutls_session state); int test_dhe( gnutls_session state); int test_dhe_bits( gnutls_session state); int test_ssl3( gnutls_session state); int test_aes( gnutls_session state); int test_md5( gnutls_session state); int test_sha( gnutls_session state); int test_3des( gnutls_session state); int test_arcfour( gnutls_session state); int test_tls1( gnutls_session state); int test_tls1_2( gnutls_session state); int test_rsa_pms( gnutls_session state); int test_max_record_size( gnutls_session state); int test_version_rollback( gnutls_session state); int test_anonymous( gnutls_session state); int test_unknown_ciphersuites( gnutls_session state); int test_openpgp1( gnutls_session state); int test_bye( gnutls_session state); int test_certificate( gnutls_session state); int test_server_cas( gnutls_session state); int test_session_resume2( gnutls_session state); #define GERR(ret) fprintf(stderr, "*** Error: %s\n", gnutls_strerror(ret))