diff options
author | tb <> | 2024-05-17 02:49:21 +0000 |
---|---|---|
committer | tb <> | 2024-05-17 02:49:21 +0000 |
commit | 55ab20c6dff3297904232af43e27000bc8d2e854 (patch) | |
tree | c6447ec95bf2206fc92b8d4f6d8b5ad773dbfa34 | |
parent | cb0f06e4cae61217b83df36c61951ca59c21bf3d (diff) | |
download | openbsd-55ab20c6dff3297904232af43e27000bc8d2e854.tar.gz openbsd-55ab20c6dff3297904232af43e27000bc8d2e854.tar.bz2 openbsd-55ab20c6dff3297904232af43e27000bc8d2e854.zip |
The long primitive function table can be const
-rw-r--r-- | src/lib/libcrypto/asn1/x_long.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/x_long.c b/src/lib/libcrypto/asn1/x_long.c index aafdb9c2e5..01a0811e7e 100644 --- a/src/lib/libcrypto/asn1/x_long.c +++ b/src/lib/libcrypto/asn1/x_long.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x_long.c,v 1.19 2022/11/26 16:08:50 tb Exp $ */ | 1 | /* $OpenBSD: x_long.c,v 1.20 2024/05/17 02:49:21 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 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -81,7 +81,7 @@ static int long_c2i(ASN1_VALUE **pval, const unsigned char *content, int len, | |||
81 | static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, | 81 | static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, |
82 | int indent, const ASN1_PCTX *pctx); | 82 | int indent, const ASN1_PCTX *pctx); |
83 | 83 | ||
84 | static ASN1_PRIMITIVE_FUNCS long_pf = { | 84 | static const ASN1_PRIMITIVE_FUNCS long_pf = { |
85 | .app_data = NULL, | 85 | .app_data = NULL, |
86 | .flags = 0, | 86 | .flags = 0, |
87 | .prim_new = long_new, | 87 | .prim_new = long_new, |