libstrongswan can be initialized more than once

This commit is contained in:
Martin Willi
2012-11-14 10:14:31 +01:00
parent cbd52e7ddc
commit 1e5e1fb685
2 changed files with 30 additions and 4 deletions
+3
View File
@@ -202,6 +202,9 @@ struct library_t {
/**
* Initialize library, creates "lib" instance.
*
* library_init() may be called multiple times in a single process, but each
* caller should call library_deinit() for each call to library_init().
*
* @param settings file to read settings from, may be NULL for default
* @return FALSE if integrity check failed
*/