Use an enum for the return value from a construction function
authorMatt Caswell <matt@openssl.org>
Fri, 12 Aug 2022 12:27:21 +0000 (13:27 +0100)
committerHugo Landau <hlandau@openssl.org>
Tue, 20 Sep 2022 07:16:57 +0000 (08:16 +0100)
commit67ec6d2b747810db609330003dcf08c8c584105b
treef4e0eeea8c750abef708a2b285cb417d57243529
parent3e93c5fe1eab677500448e18e4274b26e4b246ae
Use an enum for the return value from a construction function

Construction return values are no longer boolean but can return 3 different
values, so we use an enum to represent them.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18990)
ssl/statem/statem.c
ssl/statem/statem.h
ssl/statem/statem_clnt.c
ssl/statem/statem_dtls.c
ssl/statem/statem_lib.c
ssl/statem/statem_local.h
ssl/statem/statem_srvr.c