Check os for NULL before dereferencing it
authortb <tb@openbsd.org>
Fri, 18 Nov 2022 20:03:36 +0000 (20:03 +0000)
committertb <tb@openbsd.org>
Fri, 18 Nov 2022 20:03:36 +0000 (20:03 +0000)
commitff448807c2a56143d75f46091941ee8f94d2fd73
tree2389f9375d52c3c52c48ce45eda47322f7d5461e
parent472ba50a01014214bffa0bd7afe5c1fd4b1b4061
Check os for NULL before dereferencing it

Avoids a segfault when both priv == NULL and os == NULL.

ok miod
lib/libcrypto/hmac/hm_ameth.c