Fix memory leaks on error cases during drbg initializations
authorTomas Mraz <tomas@openssl.org>
Wed, 7 Feb 2024 09:27:50 +0000 (10:27 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 9 Feb 2024 09:36:23 +0000 (10:36 +0100)
commitcb4f7a6ee053e8c51cf3ac35fee333d1f25552c0
treeb6bad3f44f7c3489b66b88953aea85c42f7b38ee
parent76cecff5e9bedb2bafc60062283f99722697082a
Fix memory leaks on error cases during drbg initializations

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/23503)
providers/implementations/rands/drbg.c
providers/implementations/rands/drbg_ctr.c
providers/implementations/rands/drbg_hash.c
providers/implementations/rands/drbg_hmac.c
providers/implementations/rands/drbg_local.h