From 171a15f2b42b26e78816395d58c2a732ca713311 Mon Sep 17 00:00:00 2001 From: Wendal Chen Date: Sat, 4 Mar 2023 01:32:42 +0800 Subject: [PATCH] =?UTF-8?q?update:=20asn1=5Ftag=5Findex=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E6=98=AF=E5=B8=B8=E9=87=8F,=E5=8A=A0=E4=B8=8Aconst=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 从代码逻辑可知, asn1_tag_index 是只读的 --- src/asn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asn1.c b/src/asn1.c index 86c37c54..515cba25 100644 --- a/src/asn1.c +++ b/src/asn1.c @@ -23,7 +23,7 @@ #include -static char *asn1_tag_index[] = { +static const char *asn1_tag_index[] = { "[0]", "[1]", "[2]", "[3]", "[4]", "[5]", "[6]", "[7]", "[8]", "[9]", "[10]", "[11]", "[12]", "[13]", "[14]", "[15]", "[16]", "[17]", "[18]", "[19]", "[20]", "[21]", "[22]", "[23]", "[24]", "[25]", "[26]", "[27]", "[28]", "[29]",