Make ssl_create_cipher_list() have a single exit
authortb <tb@openbsd.org>
Sun, 4 Sep 2022 07:55:32 +0000 (07:55 +0000)
committertb <tb@openbsd.org>
Sun, 4 Sep 2022 07:55:32 +0000 (07:55 +0000)
commit600de79768de60ca14422b12d72411b1100652ff
treecf287647a30fedf7cf6a214c9aa953a08f91b9f9
parent78539ee5b1bc88bb6ee070d507c8babb9bafcf42
Make ssl_create_cipher_list() have a single exit

This simplifies memory management and makes it easier to see the leak
that were introduced in the previous commit. Sprinkle a few malloc
errors for consistency.

CID 278396

with/ok jsing
lib/libssl/ssl_ciph.c