diff options
Diffstat (limited to 'crypto/property/property.c')
-rw-r--r-- | crypto/property/property.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/property/property.c b/crypto/property/property.c index 1a3d0c480d..a2122dc1bc 100644 --- a/crypto/property/property.c +++ b/crypto/property/property.c @@ -450,7 +450,7 @@ int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, int nid, return 0; } - elem.query = prop_query; + elem.query = prop_query != NULL ? prop_query : ""; r = lh_QUERY_retrieve(alg->cache, &elem); if (r == NULL) { ossl_property_unlock(store); |