diff options
author | tb <> | 2022-01-10 12:00:52 +0000 |
---|---|---|
committer | tb <> | 2022-01-10 12:00:52 +0000 |
commit | 66fc1114c3900ed41771dba70d33a853a0a925f4 (patch) | |
tree | a4d80645cff5817beab5299ea58a2124c2e04ea1 /src/usr.bin/openssl/pkey.c | |
parent | a447c077ad67d6e81ed1a4fbe9003875add773c2 (diff) | |
download | openbsd-66fc1114c3900ed41771dba70d33a853a0a925f4.tar.gz openbsd-66fc1114c3900ed41771dba70d33a853a0a925f4.tar.bz2 openbsd-66fc1114c3900ed41771dba70d33a853a0a925f4.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/pkey.c')
0 files changed, 0 insertions, 0 deletions