summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--lib/gnutls_pcert.c16
-rw-r--r--lib/includes/gnutls/abstract.h3
3 files changed, 0 insertions, 20 deletions
diff --git a/NEWS b/NEWS
index 636423d2d1..7a2e2883ed 100644
--- a/NEWS
+++ b/NEWS
@@ -41,7 +41,6 @@ gnutls_pkcs12_bag_enc_info: Added
gnutls_pkcs8_info: Added
gnutls_pkcs_schema_get_name: Added
gnutls_pkcs_schema_get_oid: Added
-gnutls_pcert_get_type: Added
gnutls_pcert_export_x509: Added
gnutls_pcert_export_openpgp: Added
gnutls_pkcs11_privkey_cpy: Added
diff --git a/lib/gnutls_pcert.c b/lib/gnutls_pcert.c
index a0510f5fc0..1d81cbbedc 100644
--- a/lib/gnutls_pcert.c
+++ b/lib/gnutls_pcert.c
@@ -339,22 +339,6 @@ int gnutls_pcert_import_openpgp_raw(gnutls_pcert_st * pcert,
#endif
/**
- * gnutls_pcert_get_type:
- * @pcert: The pcert structure.
- *
- * Returns the certificate type of @pcert, one of X.509 or OpenPGP.
- *
- * Returns: The certificate type.
- *
- * Since: 3.4.0
- */
-gnutls_certificate_type_t
-gnutls_pcert_get_type(gnutls_pcert_st * pcert)
-{
- return pcert->type;
-}
-
-/**
* gnutls_pcert_export_x509:
* @pcert: The pcert structure.
* @crt: An initialized #gnutls_x509_crt_t.
diff --git a/lib/includes/gnutls/abstract.h b/lib/includes/gnutls/abstract.h
index 1a0c7b406e..11af9dcffb 100644
--- a/lib/includes/gnutls/abstract.h
+++ b/lib/includes/gnutls/abstract.h
@@ -457,9 +457,6 @@ int gnutls_pcert_import_x509(gnutls_pcert_st * pcert,
int gnutls_pcert_export_x509(gnutls_pcert_st * pcert,
gnutls_x509_crt_t * crt);
-gnutls_certificate_type_t
-gnutls_pcert_get_type(gnutls_pcert_st * pcert);
-
int
gnutls_pcert_list_import_x509_raw(gnutls_pcert_st * pcerts,
unsigned int *pcert_max,