diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-10-07 23:55:47 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-10-08 00:00:59 +0200 |
commit | 4da9342263784dada84671893a6b41cd52e38701 (patch) | |
tree | 939230100ec9f6329debf4dc8af602365276cf74 /tests/resume-dtls.c | |
parent | f9c88ed32a9cc6fdc03ddd2075b3073bf2215311 (diff) | |
download | gnutls-4da9342263784dada84671893a6b41cd52e38701.tar.gz |
The session ticket and OCSP certificate status extensions are enabled by default.
In client side gnutls_init() enables the session ticket and
OCSP certificate status request extensions by default. The flag
GNUTLS_NO_EXTENSIONS can be used to prevent that.
Diffstat (limited to 'tests/resume-dtls.c')
-rw-r--r-- | tests/resume-dtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/resume-dtls.c b/tests/resume-dtls.c index 03f606ce18..3e56645a7e 100644 --- a/tests/resume-dtls.c +++ b/tests/resume-dtls.c @@ -122,7 +122,7 @@ client (struct params_res *params) /* Initialize TLS session */ - gnutls_init (&session, GNUTLS_CLIENT|GNUTLS_DATAGRAM); + gnutls_init (&session, GNUTLS_CLIENT|GNUTLS_DATAGRAM|GNUTLS_NO_EXTENSIONS); /* Use default priorities */ gnutls_priority_set_direct (session, "NONE:+VERS-DTLS1.0:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+ANON-DH", NULL); |