diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-03-08 11:52:25 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-03-08 11:54:10 +0100 |
commit | 9f90f409beb1d626a5d7b980842a7e322fedbfa9 (patch) | |
tree | 6b89fcc4eb36ec758413ba01e263cb7434b7dd6b | |
parent | 1cc6115863c976c2441f793fc3e4c294ccacce48 (diff) | |
download | gnutls-tmp-remove-hmac-md5.tar.gz |
tests: adjusted for the removal of HMAC-MD5tmp-remove-hmac-md5
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | tests/priorities.c | 2 | ||||
-rw-r--r-- | tests/record-sizes.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/priorities.c b/tests/priorities.c index f0eb7b7570..012b66f274 100644 --- a/tests/priorities.c +++ b/tests/priorities.c @@ -94,7 +94,7 @@ try_prio(const char *prio, unsigned expected_cs, unsigned expected_ciphers, unsi void doit(void) { - const int null = 5; + const int null = 4; int sec128_cs = 53; int sec256_cs = 22; int normal_cs = 53; diff --git a/tests/record-sizes.c b/tests/record-sizes.c index 47cd5920b2..b1628041da 100644 --- a/tests/record-sizes.c +++ b/tests/record-sizes.c @@ -81,7 +81,7 @@ void doit(void) gnutls_anon_set_server_dh_params(s_anoncred, dh_params); gnutls_init(&server, GNUTLS_SERVER); gnutls_priority_set_direct(server, - "NONE:+VERS-TLS-ALL:+ARCFOUR-128:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-DH", + "NONE:+VERS-TLS-ALL:+ARCFOUR-128:+MD5:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-DH", NULL); gnutls_credentials_set(server, GNUTLS_CRD_ANON, s_anoncred); gnutls_transport_set_push_function(server, server_push); @@ -92,7 +92,7 @@ void doit(void) gnutls_anon_allocate_client_credentials(&c_anoncred); gnutls_init(&client, GNUTLS_CLIENT); gnutls_priority_set_direct(client, - "NONE:+VERS-TLS-ALL:+CIPHER-ALL:+ARCFOUR-128:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-DH", + "NONE:+VERS-TLS-ALL:+CIPHER-ALL:+ARCFOUR-128:+MD5:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-DH", NULL); gnutls_credentials_set(client, GNUTLS_CRD_ANON, c_anoncred); gnutls_transport_set_push_function(client, client_push); |