diff options
Diffstat (limited to 'Source/charon/encoding/payloads/ike_header.c')
-rw-r--r-- | Source/charon/encoding/payloads/ike_header.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/charon/encoding/payloads/ike_header.c b/Source/charon/encoding/payloads/ike_header.c index 784fce51d..6114c8de4 100644 --- a/Source/charon/encoding/payloads/ike_header.c +++ b/Source/charon/encoding/payloads/ike_header.c @@ -186,18 +186,6 @@ static status_t verify(private_ike_header_t *this) return FAILED; } - if ((this->responder_spi == 0) && (!this->flags.initiator)) - { - /* must be original initiator*/ - return FAILED; - } - - if ((this->responder_spi == 0) && (this->flags.response)) - { - /* must be request*/ - return FAILED; - } - /* verification of version is not done in here */ return SUCCESS; |