Merge pull request #1435 from wendal/patch-2

update: asn1_tag_index应该是常量,加上const描述
This commit is contained in:
Zhi Guan
2023-03-23 15:32:19 +08:00
committed by GitHub

View File

@@ -23,7 +23,7 @@
#include <gmssl/endian.h>
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]",