diff options
author | tb <> | 2024-05-17 02:57:26 +0000 |
---|---|---|
committer | tb <> | 2024-05-17 02:57:26 +0000 |
commit | aee3828d49c1d86e677aec457700dcf6297086b3 (patch) | |
tree | b0d920aeb8219f73b01cbdc539baabeeb222effd | |
parent | 55ab20c6dff3297904232af43e27000bc8d2e854 (diff) | |
download | openbsd-aee3828d49c1d86e677aec457700dcf6297086b3.tar.gz openbsd-aee3828d49c1d86e677aec457700dcf6297086b3.tar.bz2 openbsd-aee3828d49c1d86e677aec457700dcf6297086b3.zip |
asn1_str2tag(): no need for tntmp to be static
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_gen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_gen.c b/src/lib/libcrypto/asn1/asn1_gen.c index 228f236b7e..c7eafd7267 100644 --- a/src/lib/libcrypto/asn1/asn1_gen.c +++ b/src/lib/libcrypto/asn1/asn1_gen.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_gen.c,v 1.21 2023/07/05 21:23:36 beck Exp $ */ | 1 | /* $OpenBSD: asn1_gen.c,v 1.22 2024/05/17 02:57:26 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2002. | 3 | * project 2002. |
4 | */ | 4 | */ |
@@ -533,7 +533,8 @@ static int | |||
533 | asn1_str2tag(const char *tagstr, int len) | 533 | asn1_str2tag(const char *tagstr, int len) |
534 | { | 534 | { |
535 | unsigned int i; | 535 | unsigned int i; |
536 | static const struct tag_name_st *tntmp, tnst [] = { | 536 | const struct tag_name_st *tntmp; |
537 | static const struct tag_name_st tnst[] = { | ||
537 | ASN1_GEN_STR("BOOL", V_ASN1_BOOLEAN), | 538 | ASN1_GEN_STR("BOOL", V_ASN1_BOOLEAN), |
538 | ASN1_GEN_STR("BOOLEAN", V_ASN1_BOOLEAN), | 539 | ASN1_GEN_STR("BOOLEAN", V_ASN1_BOOLEAN), |
539 | ASN1_GEN_STR("NULL", V_ASN1_NULL), | 540 | ASN1_GEN_STR("NULL", V_ASN1_NULL), |