ike-config: If we don't send a CFG_REQUEST, we don't expect a CFG_REPLY
authorTobias Brunner <tobias@strongswan.org>
Fri, 29 Mar 2019 10:05:42 +0000 (11:05 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 4 Apr 2019 09:06:20 +0000 (11:06 +0200)
commit5af924a650601bb71889ffb7663ee64cadcf7bdd
treebca48a91fb6cef1b1cd38d82c3643a1ddc59b7ba
parentb5ac0bd35fcebb6823402cb4ab69eaf574ea8839
ike-config: If we don't send a CFG_REQUEST, we don't expect a CFG_REPLY

Previously, attributes in an incorrectly sent CFG_REPLY would still be passed
to attribute handlers.  This does not prevent handlers from receiving
unrequested attributes if they requested at least one other.
src/libcharon/sa/ikev2/tasks/ike_config.c