]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
(no commit message)
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 24 Oct 2007 20:45:41 +0000 (23:45 +0300)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 24 Oct 2007 20:45:41 +0000 (23:45 +0300)
doc/examples/ex-serv-pgp.c

index 0c9c1a45738573205ecdb5a76e3bf5daad35ceee..79fcca6e4f05a211e3c901d4a13dba3f6a1a56a8 100644 (file)
@@ -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 ();