diff options
author | Richard Levitte <levitte@openssl.org> | 2020-11-12 09:19:24 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-11-24 15:21:44 +0100 |
commit | f5a46ed7fe66520c6f1016eb96e96cb241ba229f (patch) | |
tree | aad7f22a6fbca9e545fa6f3af18b73c97059c6e1 /CHANGES.md | |
parent | 9343d3fe3bc5a4a2d6461c640d34a96e950177ad (diff) |
Modify the ERR init functions to use the internal ERR string loaders
This deprecates all the ERR_load_ functions, and moves their definition to
separate C source files that can easily be removed when those functions are
finally removed.
This also reduces include/openssl/kdferr.h to include cryptoerr_legacy.h,
moves the declaration of ERR_load_ERR_strings() from include/openssl/err.h
to include/openssl/cryptoerr_legacy.h, and finally removes the declaration
of ERR_load_DSO_strings(), which was entirely internal anyway.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13390)
Diffstat (limited to 'CHANGES.md')
-rw-r--r-- | CHANGES.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md index ca4e096ed2..48957676f6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -23,6 +23,23 @@ OpenSSL 3.0 ### Changes between 1.1.1 and 3.0 [xx XXX xxxx] + * Deprecated all the libcrypto and libssl error string loading + functions: ERR_load_ASN1_strings(), ERR_load_ASYNC_strings(), + ERR_load_BIO_strings(), ERR_load_BN_strings(), ERR_load_BUF_strings(), + ERR_load_CMS_strings(), ERR_load_COMP_strings(), ERR_load_CONF_strings(), + ERR_load_CRYPTO_strings(), ERR_load_CT_strings(), ERR_load_DH_strings(), + ERR_load_DSA_strings(), ERR_load_EC_strings(), ERR_load_ENGINE_strings(), + ERR_load_ERR_strings(), ERR_load_EVP_strings(), ERR_load_KDF_strings(), + ERR_load_OBJ_strings(), ERR_load_OCSP_strings(), ERR_load_PEM_strings(), + ERR_load_PKCS12_strings(), ERR_load_PKCS7_strings(), ERR_load_RAND_strings(), + ERR_load_RSA_strings(), ERR_load_OSSL_STORE_strings(), ERR_load_TS_strings(), + ERR_load_UI_strings(), ERR_load_X509_strings(), ERR_load_X509V3_strings(). + + Calling these functions is not necessary since OpenSSL 1.1.0, as OpenSSL + now loads error strings automatically. + + *Richard Levitte* + * The functions SSL_CTX_set_tmp_dh_callback and SSL_set_tmp_dh_callback, as well as the macros SSL_CTX_set_tmp_dh() and SSL_set_tmp_dh() have been deprecated. These are used to set the Diffie-Hellman (DH) parameters that |