diff options
Diffstat (limited to 'libextra/openpgp/pgp.c')
-rw-r--r-- | libextra/openpgp/pgp.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/libextra/openpgp/pgp.c b/libextra/openpgp/pgp.c index 0721b69aaa..269cec521c 100644 --- a/libextra/openpgp/pgp.c +++ b/libextra/openpgp/pgp.c @@ -436,14 +436,14 @@ gnutls_openpgp_crt_get_expiration_time (gnutls_openpgp_crt_t key) } /** - * gnutls_openpgp_crt_get_key_id - Gets the keyID + * gnutls_openpgp_crt_get_id - Gets the keyID * @key: the structure that contains the OpenPGP public key. * @keyid: the buffer to save the keyid. * * Returns the 64-bit keyID of the OpenPGP key. **/ int -gnutls_openpgp_crt_get_key_id (gnutls_openpgp_crt_t key, unsigned char keyid[8]) +gnutls_openpgp_crt_get_id (gnutls_openpgp_crt_t key, unsigned char keyid[8]) { cdk_packet_t pkt; uint32_t kid[2]; @@ -472,20 +472,6 @@ gnutls_openpgp_crt_get_key_id (gnutls_openpgp_crt_t key, unsigned char keyid[8]) } /** - * gnutls_openpgp_crt_get_id - Gets the keyID - * @key: the structure that contains the OpenPGP public key. - * @keyid: the buffer to save the keyid. - * - * Returns the 64-bit keyID of the OpenPGP key. - **/ -int -gnutls_openpgp_crt_get_id (gnutls_openpgp_crt_t key, unsigned char keyid[8]) -{ - return gnutls_openpgp_crt_get_key_id( key, keyid); -} - - -/** * gnutls_openpgp_crt_check_hostname - This function compares the given hostname with the hostname in the key * @key: should contain an gnutls_openpgp_crt_t structure * @hostname: A null terminated string that contains a DNS name |