summaryrefslogtreecommitdiff
path: root/doc/examples/ex-client-resume.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2007-10-24 16:50:59 +0300
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2007-10-24 16:50:59 +0300
commite7077f7feefe1584b4597bcda5e420f6d439e8c6 (patch)
tree64c887ef68a9ff73920b4fa231fa7c75fb6e4c23 /doc/examples/ex-client-resume.c
parentc626bc95043787c7f85178ee52bbc3c925b620f8 (diff)
downloadgnutls-e7077f7feefe1584b4597bcda5e420f6d439e8c6.tar.gz
Added gnutls_set_default_priority2() and deprecated gnutls_set_default_priority().
Diffstat (limited to 'doc/examples/ex-client-resume.c')
-rw-r--r--doc/examples/ex-client-resume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/ex-client-resume.c b/doc/examples/ex-client-resume.c
index 3002a0c630..0e73901912 100644
--- a/doc/examples/ex-client-resume.c
+++ b/doc/examples/ex-client-resume.c
@@ -54,7 +54,7 @@ main (void)
gnutls_init (&session, GNUTLS_CLIENT);
- gnutls_set_default_priority (session);
+ gnutls_set_default_priority2 (session, GNUTLS_PRIORITIES_PERFORMANCE);
gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, xcred);