]> git.ipfire.org Git - thirdparty/krb5.git/commit
Simplify pkinit_check_dh_params
authorTom Yu <tlyu@mit.edu>
Fri, 29 Mar 2013 02:57:55 +0000 (22:57 -0400)
committerTom Yu <tlyu@mit.edu>
Fri, 12 Apr 2013 20:09:16 +0000 (16:09 -0400)
commit6a8c310041a5ed9c95bb9664966288a69fb5a266
tree026b50d9c6789dacf29576cbbdf88e25ec1c9d8d
parented77a25c53ed6afd41372838f205a98a561a89fb
Simplify pkinit_check_dh_params

Change pkinit_check_dh_params() to take two DH* parameters, and only
compare p and g, because q is fully determined by them and might be
missing.

Also refactor some parameter checks into check_dh_wellknown() that
were previously done separately in the pkinit_process_td_dh_params()
and server_check_dh().
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c