diff options
| author | tb <> | 2024-05-17 02:49:21 +0000 |
|---|---|---|
| committer | tb <> | 2024-05-17 02:49:21 +0000 |
| commit | 40aaee12f4cc883cce66ab2c33bbedb78f59748c (patch) | |
| tree | c6447ec95bf2206fc92b8d4f6d8b5ad773dbfa34 /src | |
| parent | a31ff51cd23e75820879089588d4d553ee4e7cde (diff) | |
| download | openbsd-40aaee12f4cc883cce66ab2c33bbedb78f59748c.tar.gz openbsd-40aaee12f4cc883cce66ab2c33bbedb78f59748c.tar.bz2 openbsd-40aaee12f4cc883cce66ab2c33bbedb78f59748c.zip | |
The long primitive function table can be const
Diffstat (limited to 'src')
| -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, |
