From f6ba78c370794ea8247b33752a8dbe930b19df1e Mon Sep 17 00:00:00 2001 From: Jan Hutter Date: Mon, 5 Dec 2005 12:21:38 +0000 Subject: - added payload CERT - cleaned code of different states - added additional notify handling --- Source/charon/encoding/payloads/ike_header.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'Source/charon/encoding/payloads/ike_header.c') 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; -- cgit v1.2.3