summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-10-14 17:49:20 +0200
committerSimon Josefsson <simon@josefsson.org>2007-10-14 17:49:20 +0200
commitca1fe01231f0793fe4e32a5c0239f406ce9eb573 (patch)
tree2c5b554bba2566b0a2b380f0be2540d85c86fadd
parenta0916cce5f13cea26ded99453d448580540d45b9 (diff)
downloadgnutls-ca1fe01231f0793fe4e32a5c0239f406ce9eb573.tar.gz
Add compatibility mapping for GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED.
-rw-r--r--includes/gnutls/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/gnutls/compat.h b/includes/gnutls/compat.h
index e3df741ca2..5732abbc21 100644
--- a/includes/gnutls/compat.h
+++ b/includes/gnutls/compat.h
@@ -53,4 +53,8 @@
#define gnutls_datum gnutls_datum_t
#define gnutls_transport_ptr gnutls_transport_ptr_t
+/* GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED no longer used,
+ removed in 2.1.x. */
+#define GNUTLS_E_OPENPGP_TRUSTDB_VERSION_UNSUPPORTED GNUTLS_E_INTERNAL_ERROR
+
#endif /* GCOMPAT_H */