remark release date
[Net-Radio-Location-SUPL-Test.git] / patches / asn1c / 0004-ASN.1-identifiers-are-case-sensitive-C-identifiers-t.patch
blobf804cc039302766c42ee6ceec49472057007bdb3
1 From 4140715cbd070f55d929158eb2d5b9f6ae64e07d Mon Sep 17 00:00:00 2001
2 From: Jens Rehsack <sno@NetBSD.org>
3 Date: Mon, 2 Jul 2012 10:15:56 +0200
4 Subject: [PATCH 4/4] ASN.1 identifiers are case sensitive, C identifiers, too
5 - why using strcasecmp?
7 ---
8 libasn1fix/asn1fix_misc.c | 2 +-
9 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
11 diff --git a/libasn1fix/asn1fix_misc.c b/libasn1fix/asn1fix_misc.c
12 index 69d08bd..d2c9e5c 100644
13 --- a/libasn1fix/asn1fix_misc.c
14 +++ b/libasn1fix/asn1fix_misc.c
15 @@ -289,7 +289,7 @@ asn1f_check_unique_expr_child(arg_t *arg, asn1p_expr_t *child,
16 if(expr->Identifier == NULL
17 || expr->expr_type == A1TC_EXTENSIBLE)
18 continue;
19 - ret = strcasecmp(expr->Identifier, child->Identifier);
20 + ret = strcmp(expr->Identifier, child->Identifier);
23 if(ret == 0) {
24 --
25 1.7.10.5