libkeynote: use DSA_generate_parameters_ex()
authortb <tb@openbsd.org>
Wed, 7 Feb 2024 17:22:01 +0000 (17:22 +0000)
committertb <tb@openbsd.org>
Wed, 7 Feb 2024 17:22:01 +0000 (17:22 +0000)
commiteb6d9f7654ad683266b1b120f59afcd3403c19b3
tree43a4768cd70ae4e12f1557df8e532015a8868fe3
parent17240de173a8a1a47a0778dd703c3d79b26065fe
libkeynote: use DSA_generate_parameters_ex()

DSA_generate_parameters() was deprecated in 2002. Its removal was blocked
because someone added "enhanced DSA support" to rust-openssl. Fortunately
this was fixed recently by the pyca people. So we can remove it now.

Of course, DSA_generate_parameters_ex() wasn't an improvement. While it no
longer uses the old callback version, it also needs a DSA object passed in
thus making it more annoying for callers.

ok jsing
lib/libkeynote/keynote-keygen.c