diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-05-17 02:47:22 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-05-17 02:47:22 +0000 |
commit | e8d50400fb4b3bae3cfc4242ccd327ae2c1d9df2 (patch) | |
tree | 6ba270937062a444db9290fab51dc92fbdb28c20 /lib/libcrypto | |
parent | 39e45c1121066b6bcf622024dba151972d57c701 (diff) |
The bignum primitive function table (bignum_pf) can be const
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/asn1/x_bignum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/asn1/x_bignum.c b/lib/libcrypto/asn1/x_bignum.c index bfcf941993f..35b30da5b6d 100644 --- a/lib/libcrypto/asn1/x_bignum.c +++ b/lib/libcrypto/asn1/x_bignum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x_bignum.c,v 1.13 2022/11/26 16:08:50 tb Exp $ */ +/* $OpenBSD: x_bignum.c,v 1.14 2024/05/17 02:47:21 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -79,7 +79,7 @@ static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx); -static ASN1_PRIMITIVE_FUNCS bignum_pf = { +static const ASN1_PRIMITIVE_FUNCS bignum_pf = { .app_data = NULL, .flags = 0, .prim_new = bn_new, |