diff options
author | Rich Salz <rsalz@akamai.com> | 2019-06-18 12:06:17 -0400 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-06-18 23:21:38 +0200 |
commit | 8908d18cb1020f225170dd9090206842dbb6bbe6 (patch) | |
tree | 461d6e6e12596998c90804ff7487eec4aed56139 /doc | |
parent | 7f02a0932c8c182bc2f6320748d81e86d650c1a6 (diff) |
Change ERR_add_error_[v]data to append
The "add error data" functions now append to the current error.
Add a test for this.
Cleanup some of the ERR_put functions.
In the FIPS module, always append "(in the FIPS module)" to any errors.
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9181)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/ERR_put_error.pod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/man3/ERR_put_error.pod b/doc/man3/ERR_put_error.pod index abc9805e6a..31a0e76f38 100644 --- a/doc/man3/ERR_put_error.pod +++ b/doc/man3/ERR_put_error.pod @@ -23,6 +23,7 @@ This function is usually called by a macro. ERR_add_error_data() associates the concatenation of its B<num> string arguments with the error code added last. ERR_add_error_vdata() is similar except the argument is a B<va_list>. +Multiple calls to these functions append to the current top of the error queue. L<ERR_load_strings(3)> can be used to register error strings so that the application can a generate human-readable |