summaryrefslogtreecommitdiff
path: root/lib/gnutls_global.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-03-04 18:21:38 +0100
committerSimon Josefsson <simon@josefsson.org>2009-03-04 18:21:38 +0100
commit6039c30c9fbae8e29b9b91e5cb86c8482411c443 (patch)
tree098ac5941c6de60edcb52e6bbde4da14181c8295 /lib/gnutls_global.c
parent65c422c2cfddf4380bb372757816241fa0e324ab (diff)
downloadgnutls-6039c30c9fbae8e29b9b91e5cb86c8482411c443.tar.gz
Be compatible with libtasn1 before v1.6.
Diffstat (limited to 'lib/gnutls_global.c')
-rw-r--r--lib/gnutls_global.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index beb2d4a243..ae39229ab7 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -34,6 +34,11 @@
#include "sockets.h"
#include "gettext.h"
+/* Remove this when we require libtasn1 v1.6 or later. */
+#ifndef ASN1_VERSION
+# define ASN1_VERSION LIBTASN1_VERSION
+#endif
+
/* created by asn1c */
extern const ASN1_ARRAY_TYPE gnutls_asn1_tab[];
extern const ASN1_ARRAY_TYPE pkix_asn1_tab[];