Param build: make structures opaque.
authorPauli <paul.dale@oracle.com>
Wed, 25 Mar 2020 23:28:01 +0000 (09:28 +1000)
committerPauli <paul.dale@oracle.com>
Sat, 28 Mar 2020 02:27:22 +0000 (12:27 +1000)
commit6d4e6009d27712a405e1e3a4c33fb8a8566f134a
tree09d94a8c8f8f6f493cc758b6fd704837be82cb8c
parentbe19d3caf0724b786ecc97ec4207c07cff63c745
Param build: make structures opaque.

Since this is public, it is best to make the underlying structure opaque.
This means converting from stack allocation to dynamic allocation for all
usages.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/11390)
19 files changed:
crypto/dh/dh_ameth.c
crypto/dsa/dsa_ameth.c
crypto/ec/ec_ameth.c
crypto/ec/ecx_meth.c
crypto/param_build.c
crypto/rsa/rsa_ameth.c
crypto/rsa/rsa_lib.c
doc/man3/OSSL_PARAM_BLD_new.pod
include/openssl/param_build.h
include/openssl/types.h
providers/fips/fipsprov.c
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c
providers/implementations/keymgmt/ec_kmgmt.c
providers/implementations/keymgmt/ecx_kmgmt.c
providers/implementations/keymgmt/rsa_kmgmt.c
test/evp_pkey_provided_test.c
test/param_build_test.c
util/libcrypto.num