/* If there is no policy setup, everything fails. */
if (keynote_sessid < 0)
@@ -128,6 +129,9 @@
policy_sa = sa;
policy_isakmp_sa = isakmp_sa;
+ /* Reset information */
+ policy_callback(KEYNOTE_CALLBACK_INITIALIZE);
+
/* Set the return values; true/false for now at least. */
return_values[0] = "false"; /* Order of values in array is important. */
return_values[1] = "true";
@@ -243,6 +247,7 @@
/* Ask policy. */
result = LK (kn_do_query, (keynote_sessid, return_values, RETVALUES_NUM));
+ policy_callback(KEYNOTE_CALLBACK_CLEANUP); /* Just to make sure */