]> git.ipfire.org Git - thirdparty/strongswan.git/commit
plugin-loader: Check version of loaded plugins
authorTobias Brunner <tobias@strongswan.org>
Mon, 11 Aug 2025 14:28:46 +0000 (16:28 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 22 Aug 2025 13:32:39 +0000 (15:32 +0200)
commitc4b32aab04fd58db14c4dfb8d3112419494326a7
tree528fb9fae231aceb2492e2e0aa3fb0cbab4b5d45
parent5cab5672e7288aeb3da81eec989e995cb20d4b08
plugin-loader: Check version of loaded plugins

This prevents loading plugins from older builds that can cause all sorts
of issues as they might access struct members in different locations.

We don't check the version for statically linked plugins.
src/libstrongswan/plugins/plugin_loader.c