From: Nikos Mavrogiannopoulos Date: Mon, 22 Sep 2014 20:27:42 +0000 (+0200) Subject: removed gnutls_pcert_get_type() X-Git-Tag: gnutls_3_4_0~886 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25e97784710cf772ad626e0d82052f2bd548a4db;p=thirdparty%2Fgnutls.git removed gnutls_pcert_get_type() --- 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 @@ -338,22 +338,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. 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,