]> git.ipfire.org Git - thirdparty/openssl.git/commit
Adding missing NULL pointer check
authorafshinpir <afshinpir@users.noreply.github.com>
Wed, 28 Feb 2024 03:58:03 +0000 (16:58 +1300)
committerTomas Mraz <tomas@openssl.org>
Mon, 15 Apr 2024 08:29:14 +0000 (10:29 +0200)
commitbd73e1e62c4103e0faffb79cb3d34a2a92a95439
treeb36914b2362fa6b14306e2f0c1852813b29b8c00
parent993c2407d04956ffdf9b32cf0a7e4938ace816dc
Adding missing NULL pointer check

CLA: trivial
In the provider store API, it is not necessary to provide both open and
attach method at the same time and providing at least one of them is
enough. Adding some null pointer checks to prevent exceptions in case
of not providing both methods at the same time.

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23703)
crypto/store/store_lib.c