Add ERR_put_func_error, and use it.
authorRich Salz <rsalz@akamai.com>
Tue, 11 Jun 2019 19:42:42 +0000 (15:42 -0400)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 22 Jul 2019 14:24:56 +0000 (16:24 +0200)
commit56c3a135b239f4c8ccfdbbb1668880d4c39d5b87
tree22bf3958a3b0046ae690e57dd5eaad90c6fcf25a
parent1372560f64c9a7cfad1979fa8c41bee335a04373
Add ERR_put_func_error, and use it.

Change SYSerr to have the function name; remove SYS_F_xxx defines
Add a test and documentation.
Use get_last_socket_err, which removes some ifdef's in OpenSSL code.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9072)
18 files changed:
CHANGES
apps/apps.c
crypto/bio/b_addr.c
crypto/bio/b_sock.c
crypto/bio/b_sock2.c
crypto/bio/bss_acpt.c
crypto/bio/bss_conn.c
crypto/bio/bss_file.c
crypto/conf/conf_def.c
crypto/err/err.c
crypto/store/loader_file.c
doc/man3/ERR_put_error.pod
engines/e_devcrypto.c
include/openssl/err.h
ssl/ssl_cert.c
ssl/ssl_lib.c
test/errtest.c
util/libcrypto.num