openssl/crypto/ffc
Shane Lontis 55f02cb684 Change DH_get_nid() to set the value of q if it is not already set
Fixes #11108.

It only sets q if a valid named group is found.
The function signature was recently changed to pass a non const DH pointer
in order to allow the nid to be cached internally. As an extension of this
the value of q can now also be set as q is always known for named groups.
The length field is also set if q is set.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11114)
2020-03-07 07:47:58 +10:00
..
build.info Add FFC param/key validation 2020-02-16 13:03:46 +10:00
ffc_key_generate.c Change DH_get_nid() to set the value of q if it is not already set 2020-03-07 07:47:58 +10:00
ffc_key_validate.c Add FFC param/key validation 2020-02-16 13:03:46 +10:00
ffc_params_generate.c Add FFC param/key validation 2020-02-16 13:03:46 +10:00
ffc_params_validate.c Add FFC param/key validation 2020-02-16 13:03:46 +10:00
ffc_params.c ffc: use sizeof(*pointer) instead of sizeof(struct) in memset(3) call. 2020-02-17 19:29:05 +10:00