]> git.ipfire.org Git - thirdparty/openssl.git/commit
Move ssl_err.c into libcrypto
authorMatt Caswell <matt@openssl.org>
Fri, 28 Feb 2025 08:51:43 +0000 (08:51 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 3 Mar 2025 10:41:44 +0000 (10:41 +0000)
commit76c8363cb2cac1f81b47ac2163add3801b408fd2
tree3b698dbb67c9fe7fa5dfea81f56314daaadcaa5e
parentbc4ef191410fd52350609cab5fc5829c45bd4e0d
Move ssl_err.c into libcrypto

We move ssl_err.c out of libssl and into libcrypto. This file is entirely
self contained and is used to load error strings into the libcrypto error
tables. By moving this file into libcrypto, libssl can be unloaded safely
without having dangling references to this error information.

Fixes #26672

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26931)

(cherry picked from commit aaad33c5ac1ce574229066ca3ce47ef3510a6e8d)
crypto/build.info
crypto/err/openssl.ec
crypto/init.c
crypto/ssl_err.c [moved from ssl/ssl_err.c with 100% similarity]
crypto/sslerr.h [moved from ssl/sslerr.h with 100% similarity]
ssl/build.info
ssl/ssl_err_legacy.c
ssl/ssl_init.c