From: Nikos Mavrogiannopoulos Date: Wed, 24 Oct 2007 20:45:41 +0000 (+0300) Subject: (no commit message) X-Git-Tag: gnutls_2_1_4~19^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=294f202086df230f9802b68547fc12743ed99eaf;p=thirdparty%2Fgnutls.git --- diff --git a/doc/examples/ex-serv-pgp.c b/doc/examples/ex-serv-pgp.c index 0c9c1a4573..79fcca6e4f 100644 --- a/doc/examples/ex-serv-pgp.c +++ b/doc/examples/ex-serv-pgp.c @@ -100,9 +100,9 @@ main (void) gnutls_global_init (); gnutls_certificate_allocate_credentials (&cred); - gnutls_certificate_set_openpgp_keyring_file (cred, RINGFILE); + gnutls_certificate_set_openpgp_keyring_file (cred, RINGFILE, GNUTLS_OPENPGP_FMT_BASE64); - gnutls_certificate_set_openpgp_key_file (cred, CERTFILE, KEYFILE); + gnutls_certificate_set_openpgp_key_file (cred, CERTFILE, KEYFILE, GNUTLS_OPENPGP_FMT_BASE64); generate_dh_params ();