]> git.ipfire.org Git - thirdparty/strongswan.git/commit
plugin-loader: Check version of loaded plugins 2835-plugin-versions
authorTobias Brunner <tobias@strongswan.org>
Mon, 11 Aug 2025 14:28:46 +0000 (16:28 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 11 Aug 2025 14:56:04 +0000 (16:56 +0200)
commitdd2c1c7620951812681a5e0219749715d0f1738c
treeeea04d1f2bdbf5d728e81b6d39aa8723d8d4131f
parent61b68da549c74d8982cd8837f2dade3895c92ead
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