aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/encoding/payloads/ike_header.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-12-05 12:21:38 +0000
committerJan Hutter <jhutter@hsr.ch>2005-12-05 12:21:38 +0000
commitf6ba78c370794ea8247b33752a8dbe930b19df1e (patch)
tree8aaeb98d0c3702610e37a7e5ced5f9b76a30696c /Source/charon/encoding/payloads/ike_header.c
parent3ebebc5e963afed1242192f4fa440c177daee4bc (diff)
downloadstrongswan-f6ba78c370794ea8247b33752a8dbe930b19df1e.tar.bz2
strongswan-f6ba78c370794ea8247b33752a8dbe930b19df1e.tar.xz
- added payload CERT
- cleaned code of different states - added additional notify handling
Diffstat (limited to 'Source/charon/encoding/payloads/ike_header.c')
-rw-r--r--Source/charon/encoding/payloads/ike_header.c12
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;