Params: add OSSL_PARAM_construct_end()
authorRichard Levitte <levitte@openssl.org>
Tue, 9 Apr 2019 07:49:58 +0000 (09:49 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 9 Apr 2019 09:18:26 +0000 (11:18 +0200)
commit195852fefc1ef090977ed3cc3334f1dfbd6bac34
tree7c265fa36cf2d9c76f6d2c8b0243c969e9eabe49
parentbb315ca716656b7aff89f86d35988062952ccb21
Params: add OSSL_PARAM_construct_end()

OSSL_PARAM_END is a macro that can only be used to initialize an
OSSL_PARAM array, not to assign an array element later on.  For
completion, we add an end constructor to facilitate that kind of
assignment.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8704)
crypto/params.c
doc/man3/OSSL_PARAM_TYPE.pod
include/openssl/params.h
test/params_api_test.c
test/params_test.c
util/libcrypto.num