From cb0f06e4cae61217b83df36c61951ca59c21bf3d Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 17 May 2024 02:47:21 +0000 Subject: The bignum primitive function table (bignum_pf) can be const --- src/lib/libcrypto/asn1/x_bignum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/asn1/x_bignum.c b/src/lib/libcrypto/asn1/x_bignum.c index bfcf941993..35b30da5b6 100644 --- a/src/lib/libcrypto/asn1/x_bignum.c +++ b/src/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, -- cgit v1.2.3-55-g6feb