diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2007-11-24 12:58:50 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2007-11-24 12:58:50 +0200 |
commit | 00b764c86c20adfec59f2c8a60b021a4b57b59e9 (patch) | |
tree | 73f06549eac22da4e5b2565febe66ce83bab6dbd /doc/examples/ex-serv-pgp.c | |
parent | 6c659775ea17547e85332af22b166687f56726bb (diff) | |
download | gnutls-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.c | 5 |
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. */ |