krb5: pkinit select_dh_group clarify 'bits' param is the minimum
commit97eaa6cd0107b7be99b39763d8f4fbae16e45da2
authorJeffrey Altman <jaltman@auristor.com>
Fri, 16 Sep 2022 21:00:20 +0000 (16 17:00 -0400)
committerJeffrey Altman <jaltman@auristor.com>
Fri, 16 Sep 2022 21:00:20 +0000 (16 17:00 -0400)
tree8d8c1290e751e2c85355a922169aca034a1b75ab
parent1e67fd6c01e7bdc47cdfdec71cf202bdf1d88c05
krb5: pkinit select_dh_group clarify 'bits' param is the minimum

The 'bits' parameter to select_dh_group() is the minimum acceptable
bit size.   Rename 'bits' to 'min_bits' and fix the comparision
with krb5_dh_moduli.bits to ensure that DH groups whose bit size
is the minimum acceptable are not excluded.

Fixes #1002

Reported-By: Julien Rische (GitHub: jrisc)
lib/krb5/pkinit.c
lib/libedit/config.h.in