From 246a1f3dfafc4a377bc7d7da65d9f8981a696abd Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 3 Jul 2019 18:42:21 +0200 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/9303) --- util/libcrypto.num | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util') 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: -- cgit v1.2.3