doc/man3/OSSL_PARAM_TYPE.pod: modify Example 2 to allow unspecified params
authorRichard Levitte <levitte@openssl.org>
Tue, 19 Mar 2019 05:52:15 +0000 (06:52 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 19 Mar 2019 06:08:47 +0000 (07:08 +0100)
commit16bfe6cee0853bd340e270f2deda6000ea6eeaa9
tree5e0aba94ef980a61c95910cc6c4c8ccd98384954
parent529586085e38487d45974817d4f3ff40f30e19f6
doc/man3/OSSL_PARAM_TYPE.pod: modify Example 2 to allow unspecified params

A parameter requestor is never obligated to ask for all available
parameters on an object.  Unfortunately, Example 2 showed a code
pattern that introduced such an obligation, and therefore needed a
small adjustment.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8523)
doc/man3/OSSL_PARAM_TYPE.pod