summaryrefslogtreecommitdiffstats
path: root/include/internal/property.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2021-05-07 16:42:53 +0100
committerMatt Caswell <matt@openssl.org>2021-05-20 09:28:38 +0100
commite2ed740ec4dcfd32723d849a146bfc126b95d16c (patch)
tree6b8d1e59a96b14cd7e8170c0f6ee2d260584eb04 /include/internal/property.h
parent87e4e9c473dd3305cb98b37c672edff8ddb436de (diff)
Implement the ability to convert a PROPERTY_LIST to a string
We have the ability to parse a string into a PROPERTY_LIST already. Now we have the ability to go the other way. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15242)
Diffstat (limited to 'include/internal/property.h')
-rw-r--r--include/internal/property.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/property.h b/include/internal/property.h
index 58ceddbb76..85f602d1e5 100644
--- a/include/internal/property.h
+++ b/include/internal/property.h
@@ -64,4 +64,8 @@ __owur int ossl_method_store_flush_cache(OSSL_METHOD_STORE *store, int all);
OSSL_PROPERTY_LIST *ossl_property_merge(const OSSL_PROPERTY_LIST *a,
const OSSL_PROPERTY_LIST *b);
+size_t ossl_property_list_to_string(OSSL_LIB_CTX *ctx,
+ const OSSL_PROPERTY_LIST *list, char *buf,
+ size_t bufsize);
+
#endif