summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/apps.c
diff options
context:
space:
mode:
authortb <>2022-01-10 12:00:52 +0000
committertb <>2022-01-10 12:00:52 +0000
commit7f7aefb469a9916b1d914a9fabaed99bb909ef8d (patch)
treea4d80645cff5817beab5299ea58a2124c2e04ea1 /src/usr.bin/openssl/apps.c
parentc4f6925dc73274ba5f411d30fbd78b6be1580782 (diff)
downloadopenbsd-7f7aefb469a9916b1d914a9fabaed99bb909ef8d.tar.gz
openbsd-7f7aefb469a9916b1d914a9fabaed99bb909ef8d.tar.bz2
openbsd-7f7aefb469a9916b1d914a9fabaed99bb909ef8d.zip
Provide DH_check*_ex and many error codes
DH_check{,_pub_key}_ex() wrap their non-ex versions to translate the flags argument of the original functions into OpenSSL errors. For this almost a dozen new error codes need to be added. DH_params_check{,_ex}() is a new version of DH_check that only performs a cheap subset of the checks. They are needed to implement EVP_PKEY_{public,param}_check() (observe the consistent naming) although the actual implementation of EVP_PKEY_param_check() chose to use DH_check_ex(). As far as I can tell, the only raison d'ĂȘtre of the _ex functions and error codes is to spew them to stderr in a couple of openssl(1) commands. This couldn't have been solved differently... These functions will not be exposed publicly. ok inoguchi jsing
Diffstat (limited to 'src/usr.bin/openssl/apps.c')
0 files changed, 0 insertions, 0 deletions