From: Tobias Brunner Date: Fri, 24 Feb 2017 17:22:23 +0000 (+0100) Subject: plugin-loader: Fix hashing of registered plugin features X-Git-Tag: 5.5.2dr6~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac4942c3c35c2a81846d7e4c1707598a53fd13c9;p=thirdparty%2Fstrongswan.git 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). --- diff --git a/src/libstrongswan/plugins/plugin_loader.c b/src/libstrongswan/plugins/plugin_loader.c index f4a42f4d65..e4698fac09 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); }