]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/property/property.c
ossl_method_store_cache_get(): ensure non-NULL property query
authorRichard Levitte <levitte@openssl.org>
Thu, 18 Apr 2019 15:46:32 +0000 (17:46 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 19 Apr 2019 08:24:16 +0000 (10:24 +0200)
commit1393722af384cdf310645c598bbd06a3bbaa2f31
tree5ea41ac9b64177cbebebfe2cf151d3abc99d332e
parentbcb5d42171386709c716312b711a0c15aa368f3f
ossl_method_store_cache_get(): ensure non-NULL property query

The comparator further down the call stack doesn't tolerate NULL, so
if we got that as input, use the empty string.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8781)
crypto/property/property.c