pluto: from_state is strictly lower than STATE_IKE_ROOF.

This commit is contained in:
Tobias Brunner 2011-04-18 15:46:00 +02:00
parent c8bb9a2ec6
commit 82017bf417
1 changed files with 1 additions and 1 deletions

View File

@ -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)