Remove err_fns and associated machinery.
authorjsing <jsing@openbsd.org>
Wed, 2 Oct 2024 14:54:26 +0000 (14:54 +0000)
committerjsing <jsing@openbsd.org>
Wed, 2 Oct 2024 14:54:26 +0000 (14:54 +0000)
commitecfa839164864ae716c339bb3d6a9e6c596fd973
treea2f0e9335b89697befd83d7ee8cfc8b28b4201fb
parent3792e57e0012a2e7164d71e63a575ffa2950c01c
Remove err_fns and associated machinery.

Like all good OpenSSL code, errors was built to be completely extensible.
Thankfully, the ERR_{get,set}_implementation() functions were removed in
r1.127 of err.c, which means that the extensibility can no longer be used.

Take the first of many steps to clean up this code - remove err_fns and
associated machinery, calling functions directly. Rename so that we have
an 'err_' prefix rather than 'int_' (or nothing).

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