proposal: Strip redundant integrity algos for ESP proposals only
This commit is contained in:
@@ -429,6 +429,8 @@ static void check_proposal(private_proposal_t *this)
|
||||
e->destroy(e);
|
||||
}
|
||||
|
||||
if (this->protocol == PROTO_ESP)
|
||||
{
|
||||
e = create_enumerator(this, ENCRYPTION_ALGORITHM);
|
||||
while (e->enumerate(e, &alg, &ks))
|
||||
{
|
||||
@@ -454,6 +456,7 @@ static void check_proposal(private_proposal_t *this)
|
||||
}
|
||||
e->destroy(e);
|
||||
}
|
||||
}
|
||||
|
||||
if (this->protocol == PROTO_AH || this->protocol == PROTO_ESP)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user