pluto: from_state is strictly lower than STATE_IKE_ROOF.
This commit is contained in:
+1
-1
@@ -1666,7 +1666,7 @@ process_packet(struct msg_digest **mdp)
|
|||||||
* Look up the appropriate microcode based on state and
|
* Look up the appropriate microcode based on state and
|
||||||
* possibly Oakley Auth type.
|
* 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];
|
smc = ike_microcode_index[from_state - STATE_IKE_FLOOR];
|
||||||
|
|
||||||
if (st != NULL)
|
if (st != NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user