Document and add macros for additional DSA options
authorDavid Benjamin <davidben@google.com>
Fri, 25 Jan 2019 19:56:45 +0000 (13:56 -0600)
committerDavid Benjamin <davidben@google.com>
Wed, 30 Jan 2019 16:04:47 +0000 (10:04 -0600)
commita97faad76a1be22eadd6c1a39972ad5e095d9e80
tree0c83ed55937c8c60594e3853c49f26c7e37559ec
parent40b64553f577716cb4898895f5fd4530a6266c75
Document and add macros for additional DSA options

EVP_PKEY_CTRL_DSA_PARAMGEN_Q_BITS and EVP_PKEY_CTRL_DSA_PARAMGEN_MD are only
exposed from EVP_PKEY_CTX_ctrl, which means callers must write more error-prone
code (see also issue #1319). Add the missing wrapper macros and document them.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8093)
crypto/dsa/dsa_pmeth.c
doc/man3/EVP_PKEY_CTX_ctrl.pod
include/openssl/dsa.h
util/private.num