summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-07-03 18:42:21 +0200
committerRichard Levitte <levitte@openssl.org>2019-08-12 12:50:41 +0200
commit246a1f3dfafc4a377bc7d7da65d9f8981a696abd (patch)
tree81754a3338e61308a5f9a43f1571837061f708d3 /util
parent82bd7c2cbd3a4b38321fb9053b8aa0f5d100cf54 (diff)
Add OSSL_PARAM_construct_from_text() and OSSL_PARAM_allocate_from_text()
These are utility functions that can be used to replace calls to ctrl_str type functions with get_params / set_params types of calls. They work by translating text values to something more suitable for OSSL_PARAM, and by interpretting parameter keys in a compatible fashion. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/9303)
Diffstat (limited to 'util')
-rw-r--r--util/libcrypto.num2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num
index c6f1f2d7ad..ac861fec6b 100644
--- a/util/libcrypto.num
+++ b/util/libcrypto.num
@@ -4708,3 +4708,5 @@ EC_KEY_new_ex 4817 3_0_0 EXIST::FUNCTION:EC
EC_KEY_new_by_curve_name_ex 4818 3_0_0 EXIST::FUNCTION:EC
OPENSSL_hexstr2buf_ex 4819 3_0_0 EXIST::FUNCTION:
OPENSSL_buf2hexstr_ex 4820 3_0_0 EXIST::FUNCTION:
+OSSL_PARAM_construct_from_text 4821 3_0_0 EXIST::FUNCTION:
+OSSL_PARAM_allocate_from_text 4822 3_0_0 EXIST::FUNCTION: