Params conversion tests.
authorPauli <paul.dale@oracle.com>
Mon, 20 May 2019 21:42:26 +0000 (07:42 +1000)
committerPauli <paul.dale@oracle.com>
Mon, 20 May 2019 21:42:54 +0000 (07:42 +1000)
commit9830e7ea42b9c0f95ea1f4b09aa2e60fa7d3115f
treeb799779e63769ef799bfedff88657e6d39a21601
parent538f38db50e4ead178025689d28bda316b15c242
Params conversion tests.

Add ranged checked OSSL_PARAM conversions between the native types.  A
conversion is legal only if the given value can be exactly represented
by the target type.

Includes a test case that reads a stanza test case file and verified that param
conversions are processed properly.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8733)
crypto/params.c
doc/man3/OSSL_PARAM_TYPE.pod
test/build.info
test/params_conversion_test.c [new file with mode: 0644]
test/recipes/04-test_params_conversion.t [new file with mode: 0644]
test/recipes/04-test_params_conversion_data/native_types.txt [new file with mode: 0644]