]> git.ipfire.org Git - thirdparty/strongswan.git/commit
unit-tests: Don't unload plugins before calling libcharon_deinit()
authorTobias Brunner <tobias@strongswan.org>
Thu, 12 May 2016 11:49:11 +0000 (13:49 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 17 Jun 2016 16:48:01 +0000 (18:48 +0200)
commit3b50e6fc3ea080e552b6a43b2e7e766a77ab5c0f
tree3452b411f89e4d0765cfc7204a2fdb3a3228a731
parent408282196453b3f610c758d6f96236ac1e9da3c7
unit-tests: Don't unload plugins before calling libcharon_deinit()

libcharon_deinit() already calls all the functions we called manually.
Unloading the plugins will not work if charon->initialize() is called
as charon's static plugin features would already be unloaded before the
destroyed members are accessed in destroy() to flush them.
src/libcharon/tests/libcharon_tests.c