Make ERR_str_{libraries,reasons,functs}[] const.
authorjsing <jsing@openbsd.org>
Fri, 11 Oct 2024 12:10:12 +0000 (12:10 +0000)
committerjsing <jsing@openbsd.org>
Fri, 11 Oct 2024 12:10:12 +0000 (12:10 +0000)
commit955724bc1e7a3eb645e4c5e02daa0c629ab4391b
tree9a76a05e398bea43bc90936070bf4502da7054b9
parent4b53f2ff3ba8578af2166ffa697bcbcafabc0a64
Make ERR_str_{libraries,reasons,functs}[] const.

Provide err_load_const_strings(), which takes a const ERR_STRING_DATA *
and does not perform a library error value fixup. Make ERR_str_*[] tables
const.

ok tb@
lib/libcrypto/err/err.c