Prevent continuing of an already finished FSM.
[silc.git] / lib / silcske / silcske_i.h
index 051324550b66727f0f413281fae1b8466df22b40..572b0837fbc368f0aa3f1f8162546b7fef627de0 100644 (file)
@@ -90,11 +90,11 @@ struct SilcSKEStruct {
   SilcUInt16 timeout;                /* SKE timeout */
   SilcUInt16 refcnt;                 /* Reference counter */
 
-  unsigned int aborted    : 1;        /* Set when SKE aborted */
-  unsigned int freed      : 1;       /* Set when freed during session */
-  unsigned int responder  : 1;       /* Set when we are responder side */
-  unsigned int running    : 1;       /* Set when SKE is running */
-  unsigned int rekeying   : 1;       /* Set when rekeying */
+  unsigned int aborted          : 1;         /* Set when SKE aborted */
+  unsigned int responder        : 1;         /* Set when we are responder side */
+  unsigned int rekeying         : 1;         /* Set when rekeying */
+  unsigned int failure_notified : 1;         /* Set to indicate that we already called the failure notify routine */
+  unsigned int fsm_finished     : 1;         /* Set when we're in FSM teardown */
 };
 
 #endif /* SILCSKE_I_H */