summaryrefslogtreecommitdiff
path: root/includes/gnutls/gnutls.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'includes/gnutls/gnutls.h.in')
-rw-r--r--includes/gnutls/gnutls.h.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/includes/gnutls/gnutls.h.in b/includes/gnutls/gnutls.h.in
index aa89d569d1..ff238b36c3 100644
--- a/includes/gnutls/gnutls.h.in
+++ b/includes/gnutls/gnutls.h.in
@@ -960,8 +960,9 @@ extern "C"
GNUTLS_SAN_OTHERNAME_XMPP = 1000
} gnutls_x509_subject_alt_name_t;
- struct gnutls_openpgp_key_int;
- typedef struct gnutls_openpgp_key_int *gnutls_openpgp_key_t;
+ struct gnutls_openpgp_cert_int;
+ typedef struct gnutls_openpgp_cert_int *gnutls_openpgp_cert_t;
+#define gnutls_openpgp_key_t gnutls_openpgp_cert_t
struct gnutls_openpgp_privkey_int;
typedef struct gnutls_openpgp_privkey_int *gnutls_openpgp_privkey_t;
@@ -972,7 +973,7 @@ extern "C"
union cert
{
gnutls_x509_crt_t *x509;
- gnutls_openpgp_key_t pgp;
+ gnutls_openpgp_cert_t pgp;
} cert;
unsigned int ncerts; /* one for pgp keys */