summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-02-21 11:26:52 +0100
committerSimon Josefsson <simon@josefsson.org>2008-02-21 11:26:52 +0100
commitf70be662d54b075394099b0182494c3b17a6c725 (patch)
treee48b159165c9ffcd8bba05feb1238cfd4a8985fc /includes
parent0d9e0e07aa18981ff01ac67360a3feb1f4410078 (diff)
downloadgnutls-f70be662d54b075394099b0182494c3b17a6c725.tar.gz
Cleanup gnutls_openpgp_crt_get_id vs gnutls_openpgp_crt_get_key_id.
Diffstat (limited to 'includes')
-rw-r--r--includes/gnutls/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/gnutls/compat.h b/includes/gnutls/compat.h
index ee23e49ad2..a60e8fedc1 100644
--- a/includes/gnutls/compat.h
+++ b/includes/gnutls/compat.h
@@ -93,4 +93,7 @@
#define gnutls_openpgp_key_get_id gnutls_openpgp_crt_get_id
#define gnutls_openpgp_key_check_hostname gnutls_openpgp_crt_check_hostname
+/* OpenPGP stuff renamed in 2.2.x. */
+#define gnutls_openpgp_crt_get_id gnutls_openpgp_crt_get_key_id
+
#endif /* GCOMPAT_H */