aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-02-24 18:22:23 +0100
committerTobias Brunner <tobias@strongswan.org>2017-02-24 18:29:08 +0100
commitac4942c3c35c2a81846d7e4c1707598a53fd13c9 (patch)
tree940dca493fbb0ca36abd87eda67c816c74f4e2ae /src/libstrongswan
parentf43850b3b9dc0c334f1cb7f475678b4ac455c268 (diff)
downloadstrongswan-ac4942c3c35c2a81846d7e4c1707598a53fd13c9.tar.bz2
strongswan-ac4942c3c35c2a81846d7e4c1707598a53fd13c9.tar.xz
plugin-loader: Fix hashing of registered plugin features
This strangely never caused any noticeable issues, but was the reason for build failures in certain test cases (mostly BLISS) due to missing plugin features when built with specific options on Travis (was not reproducible locally).
Diffstat (limited to 'src/libstrongswan')
-rw-r--r--src/libstrongswan/plugins/plugin_loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/plugin_loader.c b/src/libstrongswan/plugins/plugin_loader.c
index f4a42f4d6..e4698fac0 100644
--- a/src/libstrongswan/plugins/plugin_loader.c
+++ b/src/libstrongswan/plugins/plugin_loader.c
@@ -107,7 +107,7 @@ struct registered_feature_t {
/**
* Hash a registered feature
*/
-static bool registered_feature_hash(registered_feature_t *this)
+static u_int registered_feature_hash(registered_feature_t *this)
{
return plugin_feature_hash(this->feature);
}