diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-04-18 15:46:00 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-04-19 13:48:50 +0200 |
commit | 82017bf417b60a5e72aee78f9c2c5237a1bf9a6f (patch) | |
tree | 16bb59f5b8756bf7a0ee195dca0feb5db8118c03 /src/pluto | |
parent | c8bb9a2ec6b7f92326a7dbc118da25788e6beabf (diff) | |
download | strongswan-82017bf417b60a5e72aee78f9c2c5237a1bf9a6f.tar.bz2 strongswan-82017bf417b60a5e72aee78f9c2c5237a1bf9a6f.tar.xz |
pluto: from_state is strictly lower than STATE_IKE_ROOF.
Diffstat (limited to 'src/pluto')
-rw-r--r-- | src/pluto/demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/demux.c b/src/pluto/demux.c index 699e2d8d8..294601295 100644 --- a/src/pluto/demux.c +++ b/src/pluto/demux.c @@ -1666,7 +1666,7 @@ process_packet(struct msg_digest **mdp) * Look up the appropriate microcode based on state and * possibly Oakley Auth type. */ - passert(STATE_IKE_FLOOR <= from_state && from_state <= STATE_IKE_ROOF); + passert(STATE_IKE_FLOOR <= from_state && from_state < STATE_IKE_ROOF); smc = ike_microcode_index[from_state - STATE_IKE_FLOOR]; if (st != NULL) |