diff options
author | Pauli <ppzgs1@gmail.com> | 2021-03-13 10:34:49 +1000 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-03-16 09:19:20 +1000 |
commit | 1e08f3ba9ec495fbd4a4cd6a411dc4e052626eda (patch) | |
tree | 5f63db4a780d59bb20bb60a78fd221cf7a880e4e /include | |
parent | bd55a0be1b5696f643863718e7aa916feccafdf4 (diff) |
property: default queries create the property values.
Without this, it is necessary to query an algorithm before setting the default
property query. With this, the value will be created and the default will
work.
Fixes #14516
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14542)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/property.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/internal/property.h b/include/internal/property.h index 6e8b1a8259..3d00e3cb66 100644 --- a/include/internal/property.h +++ b/include/internal/property.h @@ -23,7 +23,8 @@ int ossl_property_parse_init(OSSL_LIB_CTX *ctx); /* Property definition parser */ OSSL_PROPERTY_LIST *ossl_parse_property(OSSL_LIB_CTX *ctx, const char *defn); /* Property query parser */ -OSSL_PROPERTY_LIST *ossl_parse_query(OSSL_LIB_CTX *ctx, const char *s); +OSSL_PROPERTY_LIST *ossl_parse_query(OSSL_LIB_CTX *ctx, const char *s, + int create_values); /* Property checker of query vs definition */ int ossl_property_match_count(const OSSL_PROPERTY_LIST *query, const OSSL_PROPERTY_LIST *defn); |