diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-03-13 15:46:16 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-03-19 17:19:18 +0100 |
commit | 80f182e8c205d3b25fedbc629d71abcd2483739e (patch) | |
tree | 4958e8376546928ee63f8181fcf8a0342b399927 /tests/setcredcrash.c | |
parent | 671826acc0893f05712266a49dac4851c6523bb7 (diff) | |
download | gnutls-80f182e8c205d3b25fedbc629d71abcd2483739e.tar.gz |
tests: updated for TLS1.3 inclusion
This moves the test to use a specific version or test multiple
TLS versions if applicable.
Resolves #413
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/setcredcrash.c')
-rw-r--r-- | tests/setcredcrash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/setcredcrash.c b/tests/setcredcrash.c index 4690c9ed47..02ac0bf77a 100644 --- a/tests/setcredcrash.c +++ b/tests/setcredcrash.c @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) gnutls_anon_allocate_client_credentials(&c_anoncred); gnutls_init(&client, GNUTLS_CLIENT); - gnutls_priority_set_direct(client, "NORMAL", NULL); + gnutls_priority_set_direct(client, "NORMAL:-VERS-ALL:+VERS-TLS1.2", NULL); /* Test setting the same credential type twice. Earlier GnuTLS had a bug that crashed when this happened. */ |