diff options
author | Richard Levitte <levitte@openssl.org> | 2019-11-19 16:17:04 +0300 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-11-29 22:55:16 +0300 |
commit | 1793d270f3c6f6b859e40ef1fa7bea1fd7e447c8 (patch) | |
tree | 049fa22af6819942574b59136d4aba2d54d2847b /include/internal | |
parent | 742496f1309d04f4921ca64e4b6315a45a47b4af (diff) |
CORE: expose the property parsers and checker to the rest of the libraries
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10394)
Diffstat (limited to 'include/internal')
-rw-r--r-- | include/internal/property.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/internal/property.h b/include/internal/property.h index 7ffd588073..1c40351e83 100644 --- a/include/internal/property.h +++ b/include/internal/property.h @@ -14,10 +14,19 @@ #include "internal/cryptlib.h" typedef struct ossl_method_store_st OSSL_METHOD_STORE; +typedef struct ossl_property_list_st OSSL_PROPERTY_LIST; /* Initialisation */ int ossl_property_parse_init(OPENSSL_CTX *ctx); +/* Property definition parser */ +OSSL_PROPERTY_LIST *ossl_parse_property(OPENSSL_CTX *ctx, const char *defn); +/* Property query parser */ +OSSL_PROPERTY_LIST *ossl_parse_query(OPENSSL_CTX *ctx, const char *s); +/* Property checker of query vs definition */ +int ossl_property_match_count(const OSSL_PROPERTY_LIST *query, + const OSSL_PROPERTY_LIST *defn); + /* Implementation store functions */ OSSL_METHOD_STORE *ossl_method_store_new(OPENSSL_CTX *ctx); void ossl_method_store_free(OSSL_METHOD_STORE *store); |