summaryrefslogtreecommitdiffstats
path: root/crypto/property/property_local.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 /crypto/property/property_local.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 'crypto/property/property_local.h')
-rw-r--r--crypto/property/property_local.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/property/property_local.h b/crypto/property/property_local.h
index c744a5d3c3..8cc3a51270 100644
--- a/crypto/property/property_local.h
+++ b/crypto/property/property_local.h
@@ -16,8 +16,10 @@ typedef int OSSL_PROPERTY_IDX;
/* Property string functions */
OSSL_PROPERTY_IDX ossl_property_name(OSSL_LIB_CTX *ctx, const char *s,
int create);
+const char *ossl_property_name_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx);
OSSL_PROPERTY_IDX ossl_property_value(OSSL_LIB_CTX *ctx, const char *s,
int create);
+const char *ossl_property_value_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx);
/* Property list functions */
void ossl_property_free(OSSL_PROPERTY_LIST *p);