pluto: from_state is strictly lower than STATE_IKE_ROOF.

This commit is contained in:
Tobias Brunner
2011-04-19 13:48:50 +02:00
parent c8bb9a2ec6
commit 82017bf417
+1 -1
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)