Browse Source

minor changes

ambrop7 15 years ago
parent
commit
c8ec8b4f1b
2 changed files with 2 additions and 0 deletions
  1. 1 0
      security/OTPChecker.c
  2. 1 0
      security/OTPGenerator.c

+ 1 - 0
security/OTPChecker.c

@@ -117,6 +117,7 @@ static void work_func (OTPChecker *mc)
 
 static void work_done_handler (OTPChecker *mc)
 {
+    ASSERT(mc->tw_have)
     DebugObject_Access(&mc->d_obj);
     
     // free work

+ 1 - 0
security/OTPGenerator.c

@@ -31,6 +31,7 @@ static void work_func (OTPGenerator *g)
 
 static void work_done_handler (OTPGenerator *g)
 {
+    ASSERT(g->tw_have)
     DebugObject_Access(&g->d_obj);
     
     // free work