Params API: {utf8,octet}_ptr need to know the data size
authorRichard Levitte <levitte@openssl.org>
Tue, 9 Apr 2019 06:31:09 +0000 (08:31 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 9 Apr 2019 12:10:23 +0000 (14:10 +0200)
commitf55ed701a458e3b3840a5d8c8dd3019d7d71a26f
tree76387777913e2de73294de2cf747f200104cdca8
parentb926f9deb3dc79d00f0a989370e95867516a3a17
Params API: {utf8,octet}_ptr need to know the data size

When the purpose is to pass parameters to a setter function, that
setter function needs to know the size of the data passed.  This
remains true for the pointer data types as well.

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