return ret;
}
+int test_arcfour_40( gnutls_session session) {
+int ret;
+ ADD_CIPHER(session, GNUTLS_CIPHER_ARCFOUR_40);
+ ADD_ALL_COMP(session);
+ ADD_ALL_CERTTYPES(session);
+ ADD_ALL_PROTOCOLS(session);
+ ADD_ALL_MACS(session);
+ ADD_ALL_KX(session);
+ gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, xcred);
+
+ ret = do_handshake( session);
+ return ret;
+}
+
int test_tls1( gnutls_session session) {
int ret;
ADD_ALL_CIPHERS(session);
int test_rmd( gnutls_session state);
int test_3des( gnutls_session state);
int test_arcfour( gnutls_session state);
+int test_arcfour_40( gnutls_session state);
int test_tls1( gnutls_session state);
int test_tls1_2( gnutls_session state);
int test_rsa_pms( gnutls_session state);
{ "for ephemeral Diffie Hellman prime size", test_dhe_bits, "", "N/A", "N/A" },
{ "for AES cipher support (TLS extension)", test_aes, "yes", "no", "dunno"},
{ "for 3DES cipher support", test_3des, "yes", "no", "dunno"},
- { "for ARCFOUR cipher support", test_arcfour, "yes", "no", "dunno"},
+ { "for ARCFOUR 128 cipher support", test_arcfour, "yes", "no", "dunno"},
+ { "for ARCFOUR 40 cipher support", test_arcfour_40, "yes", "no", "dunno"},
{ "for MD5 MAC support", test_md5, "yes", "no", "dunno"},
{ "for SHA1 MAC support", test_sha, "yes", "no", "dunno"},
{ "for RIPEMD160 MAC support (TLS extension)", test_rmd, "yes", "no", "dunno"},
{ "for SRP authentication support (TLS extension)", test_srp, "yes", "no", "dunno" },
#endif
{ "for OpenPGP authentication support (TLS extension)", test_openpgp1, "yes", "no", "dunno" },
- { NULL }
+ { NULL, NULL, NULL, NULL, NULL }
};
static int tt = 0;