summaryrefslogtreecommitdiff
path: root/doc/examples/ex-serv-pgp.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2007-11-24 12:58:50 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2007-11-24 12:58:50 +0200
commit00b764c86c20adfec59f2c8a60b021a4b57b59e9 (patch)
tree73f06549eac22da4e5b2565febe66ce83bab6dbd /doc/examples/ex-serv-pgp.c
parent6c659775ea17547e85332af22b166687f56726bb (diff)
downloadgnutls-00b764c86c20adfec59f2c8a60b021a4b57b59e9.tar.gz
new era of priority functions.
Diffstat (limited to 'doc/examples/ex-serv-pgp.c')
-rw-r--r--doc/examples/ex-serv-pgp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/examples/ex-serv-pgp.c b/doc/examples/ex-serv-pgp.c
index c9b8ebf81b..a08c2ee8cd 100644
--- a/doc/examples/ex-serv-pgp.c
+++ b/doc/examples/ex-serv-pgp.c
@@ -63,10 +63,7 @@ initialize_tls_session (void)
gnutls_init (&session, GNUTLS_SERVER);
- /* avoid calling all the priority functions, since the defaults
- * are adequate.
- */
- gnutls_set_priority(session, "NORMAL", NULL, 0);
+ gnutls_priority_set_direct(session, "NORMAL", NULL, 0);
/* request client certificate if any.
*/