summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/openpgp.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-21 17:50:09 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-21 17:51:59 +0100
commit5f2c3c11dee14a271a006e60352c71b000ea1c3a (patch)
treea8a97b67d301b146dbd6cf63a89451a3f61ea4c4 /lib/includes/gnutls/openpgp.h
parent368b674b34f1b03cccfbd55d1088893221fc582e (diff)
downloadgnutls-5f2c3c11dee14a271a006e60352c71b000ea1c3a.tar.gz
Fixes in openpgp handshake with fingerprints. Reported by Joke de Buhr.
Diffstat (limited to 'lib/includes/gnutls/openpgp.h')
-rw-r--r--lib/includes/gnutls/openpgp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/includes/gnutls/openpgp.h b/lib/includes/gnutls/openpgp.h
index bc6b3f13d4..e87e2d307f 100644
--- a/lib/includes/gnutls/openpgp.h
+++ b/lib/includes/gnutls/openpgp.h
@@ -52,6 +52,7 @@ extern "C"
} gnutls_openpgp_crt_fmt_t;
#define GNUTLS_OPENPGP_KEYID_SIZE 8
+#define GNUTLS_OPENPGP_V4_FINGERPRINT_SIZE 20
typedef unsigned char gnutls_openpgp_keyid_t[GNUTLS_OPENPGP_KEYID_SIZE];
/* gnutls_openpgp_cert_t should be defined in gnutls.h
@@ -310,6 +311,8 @@ extern "C"
* fingerprint instead of a full key. See also
* gnutls_openpgp_set_recv_key_function().
*
+ * The variable @key must be allocated using gnutls_malloc().
+ *
* Returns: On success, %GNUTLS_E_SUCCESS (zero) is returned,
* otherwise an error code is returned.
*/