diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-01-14 14:53:38 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-01-14 14:53:38 +0100 |
commit | 7ed89fce468c5f2b42a86b2a65a7892d11ea4303 (patch) | |
tree | 8c0a41510e3bc1ecdd98b9eddcfc6c04f7d14d95 | |
parent | 380288016a528f9a7e187adfda8f575eb6082e75 (diff) | |
download | gnutls-7ed89fce468c5f2b42a86b2a65a7892d11ea4303.tar.gz |
Re-add docstring.
-rw-r--r-- | libextra/openpgp/pgp.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libextra/openpgp/pgp.c b/libextra/openpgp/pgp.c index c8e54dd66d..0721b69aaa 100644 --- a/libextra/openpgp/pgp.c +++ b/libextra/openpgp/pgp.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation + * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation * * Author: Timo Schulz, Nikos Mavrogiannopoulos * @@ -471,6 +471,13 @@ gnutls_openpgp_crt_get_key_id (gnutls_openpgp_crt_t key, unsigned char keyid[8]) return 0; } +/** + * 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]) { |