From 751ae53c639ccd27cf4bb5b4c186a2afffa53516 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sat, 13 Sep 2003 11:45:44 +0000 Subject: [PATCH] Warn for old libtasn1. --- lib/asn1.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/asn1.c b/lib/asn1.c index 478f6fe5..e4773080 100644 --- a/lib/asn1.c +++ b/lib/asn1.c @@ -39,6 +39,9 @@ _shishi_asn1_init (Shishi * handle) return SHISHI_ASN1_ERROR; } + if (!asn1_check_version ("0.2.5")) + shishi_warn (handle, "libtasn1 >= 0.2.5 preferred, you may see bugs."); + asn1_result = asn1_array2tree (shishi_asn1_tab, &handle->asn1, errorDescription); if (asn1_result != ASN1_SUCCESS) -- 2.11.4.GIT