summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-12-29 22:25:22 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-12-29 22:25:22 +0200
commit4bcdbb03b14770ae7cd98ea4767dba9ef22c2500 (patch)
treea6883b3d55a8da1154ed189ef566d729ca9409ab /doc/examples
parent05cf15edd2dac479b0eeb0fc26b33c1b9663b94e (diff)
downloadgnutls-4bcdbb03b14770ae7cd98ea4767dba9ef22c2500.tar.gz
updated DTLS example
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/ex-serv-dtls.c3
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);