diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-03-21 17:50:09 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-03-21 17:51:59 +0100 |
commit | 5f2c3c11dee14a271a006e60352c71b000ea1c3a (patch) | |
tree | a8a97b67d301b146dbd6cf63a89451a3f61ea4c4 /lib/abstract_int.h | |
parent | 368b674b34f1b03cccfbd55d1088893221fc582e (diff) | |
download | gnutls-5f2c3c11dee14a271a006e60352c71b000ea1c3a.tar.gz |
Fixes in openpgp handshake with fingerprints. Reported by Joke de Buhr.
Diffstat (limited to 'lib/abstract_int.h')
-rw-r--r-- | lib/abstract_int.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/abstract_int.h b/lib/abstract_int.h index ae7af940c5..00141a222e 100644 --- a/lib/abstract_int.h +++ b/lib/abstract_int.h @@ -67,8 +67,13 @@ struct gnutls_pubkey_st */ gnutls_pk_params_st params; +#ifdef ENABLE_OPENPGP uint8_t openpgp_key_id[GNUTLS_OPENPGP_KEYID_SIZE]; - int openpgp_key_id_set; + unsigned int openpgp_key_id_set; + + uint8_t openpgp_key_fpr[GNUTLS_OPENPGP_V4_FINGERPRINT_SIZE]; + unsigned int openpgp_key_fpr_set:1; +#endif unsigned int key_usage; /* bits from GNUTLS_KEY_* */ |