summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-10-27 21:25:49 +0200
committerSimon Josefsson <simon@josefsson.org>2007-10-27 21:25:49 +0200
commit0b296b17d81e4bf2f723b7e779c2cada0d59aa00 (patch)
tree140947c0e711f9e5a0c06d91394cbc0f56eceb00 /includes
parent57b4550daa7e9217371034eb7090a7120e7a17cc (diff)
downloadgnutls-0b296b17d81e4bf2f723b7e779c2cada0d59aa00.tar.gz
Add for backwards compatibility.
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 d1e46494a8..dd0ceb4e1c 100644
--- a/includes/gnutls/compat.h
+++ b/includes/gnutls/compat.h
@@ -62,4 +62,7 @@
#define GNUTLS_A_MISSING_SRP_USERNAME GNUTLS_A_UNKNOWN_PSK_IDENTITY
#define GNUTLS_A_UNKNOWN_SRP_USERNAME GNUTLS_A_UNKNOWN_PSK_IDENTITY
+/* Removed in 2.1.x. */
+#define GNUTLS_E_UNKNOWN_HASH_ALGORITHM GNUTLS_E_INTERNAL_ERROR
+
#endif /* GCOMPAT_H */