aboutsummaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-11-20 22:13:11 +0100
committerPauli <paul.dale@oracle.com>2020-11-28 15:28:46 +1000
commitaf2f14ace581d30b186429cb3f9f5d14c0b5b4ec (patch)
tree7b2fc7268982869c2505d331f96568c96d8d3113 /NEWS.md
parentb8fa02e8a4a4a9c274aafdb4fc834ba051301afb (diff)
downloadopenssl-af2f14ace581d30b186429cb3f9f5d14c0b5b4ec.zip
openssl-af2f14ace581d30b186429cb3f9f5d14c0b5b4ec.tar.gz
openssl-af2f14ace581d30b186429cb3f9f5d14c0b5b4ec.tar.bz2
ERR: Drop or deprecate dangerous or overly confusing functions
ERR_get_error_line() is deprecated, and ERR_get_error_func() and ERR_get_error_data() are removed in favor of ERR_get_error_all(), since they pop the error record, leaving the caller with only partial error record data and no way to get the rest if the wish. If it's desirable to retrieve data piecemeal, the caller should consider using the diverse ERR_peek functions and finish off with ERR_get_error(). Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/13466)
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/NEWS.md b/NEWS.md
index 054a553..6cd797b 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -47,7 +47,9 @@ OpenSSL 3.0
* Added OSSL_ENCODER, a generic encoder API.
* Added OSSL_PARAM_BLD, an easier to use API to OSSL_PARAM.
* Added error raising macros, ERR_raise() and ERR_raise_data().
- * Deprecated ERR_put_error().
+ * Deprecated ERR_put_error(), ERR_get_error_line(), ERR_get_error_line_data(),
+ ERR_peek_error_line_data(), ERR_peek_last_error_line_data() and
+ ERR_func_error_string().
* Added OSSL_PROVIDER_available(), to check provider availibility.
* Added 'openssl mac' that uses the EVP_MAC API.
* Added 'openssl kdf' that uses the EVP_KDF API.