don't bother seeing q if not sent
This commit is contained in:
@@ -381,9 +381,12 @@ get_dh_param(krb5_context context,
|
|||||||
dh->g = integer_to_BN(context, "DH base", &dhparam.g);
|
dh->g = integer_to_BN(context, "DH base", &dhparam.g);
|
||||||
if (dh->g == NULL)
|
if (dh->g == NULL)
|
||||||
goto out;
|
goto out;
|
||||||
dh->q = integer_to_BN(context, "DH p-1 factor", &dhparam.q);
|
|
||||||
if (dh->g == NULL)
|
if (dhparam.q) {
|
||||||
goto out;
|
dh->q = integer_to_BN(context, "DH p-1 factor", dhparam.q);
|
||||||
|
if (dh->g == NULL)
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
heim_integer glue;
|
heim_integer glue;
|
||||||
|
Reference in New Issue
Block a user