From 92578eab5a055e0be758099659f762bce7979e32 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 17 May 2024 02:49:21 +0000 Subject: [PATCH] The long primitive function table can be const --- lib/libcrypto/asn1/x_long.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/asn1/x_long.c b/lib/libcrypto/asn1/x_long.c index aafdb9c2e5d..01a0811e7ed 100644 --- a/lib/libcrypto/asn1/x_long.c +++ b/lib/libcrypto/asn1/x_long.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x_long.c,v 1.19 2022/11/26 16:08:50 tb Exp $ */ +/* $OpenBSD: x_long.c,v 1.20 2024/05/17 02:49:21 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -81,7 +81,7 @@ static int long_c2i(ASN1_VALUE **pval, const unsigned char *content, int len, static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx); -static ASN1_PRIMITIVE_FUNCS long_pf = { +static const ASN1_PRIMITIVE_FUNCS long_pf = { .app_data = NULL, .flags = 0, .prim_new = long_new, -- 2.20.1