From: Simon Josefsson Date: Tue, 27 Jun 2006 09:42:09 +0000 (+0000) Subject: Update. X-Git-Tag: gnutls_1_4_1~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a83b2c2e01be0d0a35cc69d6ff6affc44afcc4d;p=thirdparty%2Fgnutls.git Update. --- diff --git a/lib/minitasn1/coding.c b/lib/minitasn1/coding.c index 0ca407e837..206b8c0c5f 100644 --- a/lib/minitasn1/coding.c +++ b/lib/minitasn1/coding.c @@ -158,7 +158,7 @@ asn1_octet_der (const unsigned char *str, int str_len, { int len_len; - if (der == NULL || str_len <= 0) + if (der == NULL || str_len < 0) return; asn1_length_der (str_len, der, &len_len); memcpy (der + len_len, str, str_len); diff --git a/lib/minitasn1/libtasn1.h b/lib/minitasn1/libtasn1.h index 95d598a638..c539cdd79a 100644 --- a/lib/minitasn1/libtasn1.h +++ b/lib/minitasn1/libtasn1.h @@ -31,7 +31,7 @@ extern "C" { #endif -#define LIBTASN1_VERSION "0.3.4" +#define LIBTASN1_VERSION "0.3.5" #include #include