Expose set_groups/set_curves functions (#14288)

This allows pyOpenSSL to restrict the groups allowed to be used. E.g.
for restricting the groups to post-quantum hybrid groups
(e.g. X25519MLKEM768) to always ensure that post-quantum cryptography is
used.

This commit uses the set_curves instead of the set_groups variant since
that naming is available on all OpenSSL versions and forks.

Signed-off-by: Arne Schwabe <[email protected]>
1 file changed