DOC: Add note on how to terminate an OSSL_PARAM array
authorRichard Levitte <levitte@openssl.org>
Mon, 23 Nov 2020 02:03:28 +0000 (03:03 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 26 Nov 2020 10:10:43 +0000 (11:10 +0100)
commitc589c1495bdabd02a33546f9e7b849fd912130d1
treebbb6624a5766aadcd51cd37dc5373fc7e7b12049
parent2d840893e78253bcce428603fdbcda159bdebe08
DOC: Add note on how to terminate an OSSL_PARAM array

The examples are also updated to have correct terminators.

doc/man3/OSSL_PARAM.pod is deliberately written with no help from the
constructor macros described in OSSL_PARAM_int.pod.  Therefore, use of
OSSL_PARAM_END isn't shown directly here, only leaving a link to its
man-page to indicate that there is that option.

Fixes #11280

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13478)
doc/man3/OSSL_PARAM.pod