mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
HEIMDAL: don't bother seeing q if not sent
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12986 Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from heimdal commit 19f9fdbcea11013cf13ac72c416f161ee55dee2b) Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Aug 28 15:10:54 CEST 2017 on sn-devel-144
This commit is contained in:
parent
9f245aafdc
commit
dd3e06f14e
@ -381,9 +381,12 @@ get_dh_param(krb5_context context,
|
||||
dh->g = integer_to_BN(context, "DH base", &dhparam.g);
|
||||
if (dh->g == NULL)
|
||||
goto out;
|
||||
dh->q = integer_to_BN(context, "DH p-1 factor", &dhparam.q);
|
||||
if (dh->g == NULL)
|
||||
goto out;
|
||||
|
||||
if (dhparam.q) {
|
||||
dh->q = integer_to_BN(context, "DH p-1 factor", dhparam.q);
|
||||
if (dh->g == NULL)
|
||||
goto out;
|
||||
}
|
||||
|
||||
{
|
||||
heim_integer glue;
|
||||
|
Loading…
Reference in New Issue
Block a user