diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-12-29 22:25:22 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2011-12-29 22:25:22 +0200 |
commit | 4bcdbb03b14770ae7cd98ea4767dba9ef22c2500 (patch) | |
tree | a6883b3d55a8da1154ed189ef566d729ca9409ab /doc/examples/ex-serv-dtls.c | |
parent | 05cf15edd2dac479b0eeb0fc26b33c1b9663b94e (diff) | |
download | gnutls-4bcdbb03b14770ae7cd98ea4767dba9ef22c2500.tar.gz |
updated DTLS example
Diffstat (limited to 'doc/examples/ex-serv-dtls.c')
-rw-r--r-- | doc/examples/ex-serv-dtls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/ex-serv-dtls.c b/doc/examples/ex-serv-dtls.c index 52c96c328b..355f7b9839 100644 --- a/doc/examples/ex-serv-dtls.c +++ b/doc/examples/ex-serv-dtls.c @@ -94,7 +94,8 @@ main (void) gnutls_certificate_set_dh_params (x509_cred, dh_params); gnutls_priority_init (&priority_cache, - "NORMAL:-VERS-TLS-ALL:+VERS-DTLS1.0", NULL); + "PERFORMANCE:-VERS-TLS-ALL:+VERS-DTLS1.0:%SERVER_PRECEDENCE", + NULL); gnutls_key_generate (&cookie_key, GNUTLS_COOKIE_KEY_SIZE); |