stack.c: add missing direct error reporting and improve coding style
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Sun, 7 Aug 2022 05:08:28 +0000 (07:08 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Fri, 16 Sep 2022 08:31:24 +0000 (10:31 +0200)
commitacb39e29c39aef9eefd44214d43ed9498828576d
treef574279e6a1903bfa981aa1b7bbee292484c0792
parent25ed1e5a79b19ee9eee97dc67ecaf8c605b251f6
stack.c: add missing direct error reporting and improve coding style

Doing so, had to fix sloppiness in using the stack API in crypto/conf/conf_def.c,
ssl/ssl_ciph.c, ssl/statem/statem_srvr.c, and mostly in test/helpers/ssltestlib.c.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/18918)

(cherry picked from commit 30eba7f35983a917f1007bce45040c0af3442e42)
crypto/conf/conf_def.c
crypto/stack/stack.c
ssl/ssl_ciph.c
ssl/ssl_lib.c
ssl/statem/statem_srvr.c
test/helpers/ssltestlib.c