diff options
author | Richard Levitte <levitte@openssl.org> | 2019-07-24 13:03:32 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-07-31 06:42:45 +0200 |
commit | 7c0e20dc6f11aa506abc99ccc90b3a39c48c3052 (patch) | |
tree | 9826a7692351ef85ee1c06bd015670ccf84b1f95 /util | |
parent | 8a4dc425cc73040c55bc01d89c5541e37dab939a (diff) |
ERR: Add new building blocks for reporting errors
The new building block are ERR_new(), ERR_set_debug(),
ERR_set_error(), ERR_vset_error(), which allocate a new error record
and set the diverse data in them. They are designed in such a way
that it's reasonably easy to create macros that use all of them but
then rely completely on the function signature of ERR_set_error() or
ERR_vset_error().
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9452)
Diffstat (limited to 'util')
-rw-r--r-- | util/libcrypto.num | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index 81462480ca..da7395c9cb 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -4700,3 +4700,7 @@ EVP_CIPHER_do_all_ex 4805 3_0_0 EXIST::FUNCTION: EVP_MD_do_all_ex 4806 3_0_0 EXIST::FUNCTION: EVP_KEYEXCH_provider 4807 3_0_0 EXIST::FUNCTION: OSSL_PROVIDER_available 4808 3_0_0 EXIST::FUNCTION: +ERR_new 4809 3_0_0 EXIST::FUNCTION: +ERR_set_debug 4810 3_0_0 EXIST::FUNCTION: +ERR_set_error 4811 3_0_0 EXIST::FUNCTION: +ERR_vset_error 4812 3_0_0 EXIST::FUNCTION: |