Make local BIT_STRING_BITNAME variables const
authortb <tb@openbsd.org>
Tue, 18 Jun 2024 08:29:40 +0000 (08:29 +0000)
committertb <tb@openbsd.org>
Tue, 18 Jun 2024 08:29:40 +0000 (08:29 +0000)
commit2aedf8d3ee534e1b30e0cb212769030b45e869b3
tree850e01b3d5fab8a52070e5bc6916f23a6774f34d
parent273e22d0de6b06faaf559745a8027d8ab10c3212
Make local BIT_STRING_BITNAME variables const

There's no reason for them not to be const. This is a piece of a larger
diff that I carry in several of my trees to move more things to rodata
or relro. The full diff requires a change to a public header and it's
very annoying to have to 'make includes' and recompile the entire lib
all the time when hopping from tree to tree.
lib/libcrypto/x509/x509_bitst.c
lib/libcrypto/x509/x509_utl.c