summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-05-17 02:47:21 +0000
committertb <>2024-05-17 02:47:21 +0000
commitcb0f06e4cae61217b83df36c61951ca59c21bf3d (patch)
treecc11f1f71c5f63565276c982bf117b487c3925eb /src
parentdffa27fa6b9c52bcb4754b67b06f22d989ef6ed4 (diff)
downloadopenbsd-cb0f06e4cae61217b83df36c61951ca59c21bf3d.tar.gz
openbsd-cb0f06e4cae61217b83df36c61951ca59c21bf3d.tar.bz2
openbsd-cb0f06e4cae61217b83df36c61951ca59c21bf3d.zip
The bignum primitive function table (bignum_pf) can be const
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/asn1/x_bignum.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* $OpenBSD: x_bignum.c,v 1.13 2022/11/26 16:08:50 tb Exp $ */ 1/* $OpenBSD: x_bignum.c,v 1.14 2024/05/17 02:47: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 */
@@ -79,7 +79,7 @@ static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
79static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, 79static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
80 int indent, const ASN1_PCTX *pctx); 80 int indent, const ASN1_PCTX *pctx);
81 81
82static ASN1_PRIMITIVE_FUNCS bignum_pf = { 82static const ASN1_PRIMITIVE_FUNCS bignum_pf = {
83 .app_data = NULL, 83 .app_data = NULL,
84 .flags = 0, 84 .flags = 0,
85 .prim_new = bn_new, 85 .prim_new = bn_new,