test/params_test.c: Add "real world" parameter testing
authorRichard Levitte <levitte@openssl.org>
Mon, 4 Mar 2019 16:22:45 +0000 (17:22 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 13 Mar 2019 10:32:17 +0000 (11:32 +0100)
commit9ad41d246f43d410ab4805e09786a88d56371908
treede8d24177ac90b28d8ccb6a2d74f96f60dcc8a8d
parent80889e41a72ea2520959505537f38343958b761a
test/params_test.c: Add "real world" parameter testing

test/params_test.c is a program that tries to mimic how a provider and
an application would or could handle OSSL_PARAM arrays.

For the moment, this program tests a very raw way of handling
OSSL_PARAM arrays.  It is, however, written in a way that will
hopefully make it possible to extend with other methods as APIs arise,
and to set up test cases where a "provider" handles the array one way
while the "application" handles it another way.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8396)
test/build.info
test/params_test.c [new file with mode: 0644]
test/recipes/04-test_params.t [new file with mode: 0644]