]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
removed gnutls_certificate_get_openpgp_keyring().
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 7 Feb 2011 09:19:27 +0000 (10:19 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 7 Feb 2011 09:19:27 +0000 (10:19 +0100)
lib/gnutls_cert.c

index ef8b3d5ac8c4c5048823103b4d68d46ad3babfc9..da80735174cd42f8a5ed38e24d24fbea0d54d437 100644 (file)
@@ -102,27 +102,6 @@ gnutls_certificate_free_cas (gnutls_certificate_credentials_t sc)
   return;
 }
 
-#ifdef ENABLE_OPENPGP
-
-/**
- * gnutls_certificate_get_openpgp_keyring:
- * @sc: is a #gnutls_certificate_credentials_t structure.
- * @keyring: the exported keyring. Should be treated as constant
- *
- * This function will export the OpenPGP keyring associated with the
- * given credentials.
- *
- * Since: 2.4.0
- **/
-void
-gnutls_certificate_get_openpgp_keyring (gnutls_certificate_credentials_t sc,
-                                        gnutls_openpgp_keyring_t * keyring)
-{
-  *keyring = sc->keyring;
-}
-
-#endif
-
 /**
  * gnutls_certificate_free_ca_names:
  * @sc: is a #gnutls_certificate_credentials_t structure.