summaryrefslogtreecommitdiff
path: root/lib/auth_cert.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth_cert.h')
-rw-r--r--lib/auth_cert.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/auth_cert.h b/lib/auth_cert.h
index c385822182..4d36bd19c7 100644
--- a/lib/auth_cert.h
+++ b/lib/auth_cert.h
@@ -64,7 +64,12 @@ typedef struct gnutls_certificate_credentials_st
/* OpenPGP specific stuff */
+#ifndef KEYRING_HACK
gnutls_openpgp_keyring_t keyring;
+#else
+ gnutls_datum keyring;
+ int keyring_format;
+#endif
/* X509 specific stuff */