diff options
Diffstat (limited to 'security/gnutls/patches/patch-aa')
-rw-r--r-- | security/gnutls/patches/patch-aa | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/security/gnutls/patches/patch-aa b/security/gnutls/patches/patch-aa deleted file mode 100644 index 53a88d12822..00000000000 --- a/security/gnutls/patches/patch-aa +++ /dev/null @@ -1,67 +0,0 @@ -$NetBSD: patch-aa,v 1.7 2006/03/04 23:45:07 wiz Exp $ - ---- lib/x509/xml.c.orig 2006-02-08 16:56:21.000000000 +0000 -+++ lib/x509/xml.c -@@ -379,7 +379,7 @@ _gnutls_asn1_get_structure_xml (ASN1_TYP - if (p->type == TYPE_BIT_STRING) - { - len2 = -1; -- len = _asn1_get_length_der (p->value, p->value_len, &len2); -+ len = asn1_get_length_der (p->value, p->value_len, &len2); - snprintf (tmp, sizeof (tmp), " length=\"%i\"", - (len - 1) * 8 - (p->value[len2])); - STR_APPEND (tmp); -@@ -412,7 +412,7 @@ _gnutls_asn1_get_structure_xml (ASN1_TYP - if (value) - { - len2 = -1; -- len = _asn1_get_length_der (value, p->value_len, &len2); -+ len = asn1_get_length_der (value, p->value_len, &len2); - - for (k = 0; k < len; k++) - { -@@ -426,7 +426,7 @@ _gnutls_asn1_get_structure_xml (ASN1_TYP - if (value) - { - len2 = -1; -- len = _asn1_get_length_der (value, p->value_len, &len2); -+ len = asn1_get_length_der (value, p->value_len, &len2); - - for (k = 0; k < len; k++) - { -@@ -456,7 +456,7 @@ _gnutls_asn1_get_structure_xml (ASN1_TYP - if (value) - { - len2 = -1; -- len = _asn1_get_length_der (value, p->value_len, &len2); -+ len = asn1_get_length_der (value, p->value_len, &len2); - - for (k = 1; k < len; k++) - { -@@ -469,7 +469,7 @@ _gnutls_asn1_get_structure_xml (ASN1_TYP - if (value) - { - len2 = -1; -- len = _asn1_get_length_der (value, p->value_len, &len2); -+ len = asn1_get_length_der (value, p->value_len, &len2); - for (k = 0; k < len; k++) - { - snprintf (tmp, sizeof (tmp), "%02X", (value)[k + len2]); -@@ -487,7 +487,7 @@ _gnutls_asn1_get_structure_xml (ASN1_TYP - if (value) - { - len3 = -1; -- len2 = _asn1_get_length_der (value, p->value_len, &len3); -+ len2 = asn1_get_length_der (value, p->value_len, &len3); - for (k = 0; k < len2; k++) - { - snprintf (tmp, sizeof (tmp), -@@ -507,7 +507,7 @@ _gnutls_asn1_get_structure_xml (ASN1_TYP - type_field (up->left->type) == TYPE_OBJECT_ID) - { - -- len2 = _asn1_get_length_der (up->value, up->value_len, &len3); -+ len2 = asn1_get_length_der (up->value, up->value_len, &len3); - - if (len2 > 0 && strcmp (p->name, "type") == 0) - { |