aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/ike_sa_manager.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-07-20 10:58:17 +0200
committerMartin Willi <martin@revosec.ch>2010-08-04 09:26:21 +0200
commit65858b83f8e98462452afde8dda96ae3d2ea8767 (patch)
tree089edd93cb0bafd635d49c3d960ed46e949061f2 /src/libcharon/sa/ike_sa_manager.h
parent5a27bf8ad807ee0e764347e25712e0c95952a510 (diff)
downloadstrongswan-65858b83f8e98462452afde8dda96ae3d2ea8767.tar.bz2
strongswan-65858b83f8e98462452afde8dda96ae3d2ea8767.tar.xz
Destroy IKE_SA Managers crypto primitives during flush, the plugins are gone in destroy
Diffstat (limited to 'src/libcharon/sa/ike_sa_manager.h')
-rw-r--r--src/libcharon/sa/ike_sa_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcharon/sa/ike_sa_manager.h b/src/libcharon/sa/ike_sa_manager.h
index 38f5454e1..f4eabf808 100644
--- a/src/libcharon/sa/ike_sa_manager.h
+++ b/src/libcharon/sa/ike_sa_manager.h
@@ -199,6 +199,8 @@ struct ike_sa_manager_t {
* Delete all existing IKE_SAs and destroy them immediately.
*
* Threads will be driven out, so all SAs can be deleted cleanly.
+ * To a flush(), an immediate call to destroy() is mandatory; no other
+ * method may be used.
*/
void (*flush)(ike_sa_manager_t *this);