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/duplicate-extensions.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/duplicate-extensions.c')
-rw-r--r-- | tests/duplicate-extensions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/duplicate-extensions.c b/tests/duplicate-extensions.c index c6aa8cbdf1..d3db925da7 100644 --- a/tests/duplicate-extensions.c +++ b/tests/duplicate-extensions.c @@ -156,7 +156,7 @@ static void server(int sd) /* avoid calling all the priority functions, since the defaults * are adequate. */ - gnutls_priority_set_direct(session, "NORMAL", NULL); + gnutls_priority_set_direct(session, "NORMAL:-VERS-ALL:+VERS-TLS1.0:+VERS-TLS1.1:+VERS-TLS1.2", NULL); gnutls_handshake_set_timeout(session, 20 * 1000); gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, x509_cred); @@ -210,6 +210,7 @@ void doit(void) client(sockets[1]); wait(&status); + check_wait_status(status); } else { server(sockets[0]); _exit(0); |