diff options
Diffstat (limited to 'src/libstrongswan/fips/fips_signer.c')
-rw-r--r-- | src/libstrongswan/fips/fips_signer.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libstrongswan/fips/fips_signer.c b/src/libstrongswan/fips/fips_signer.c index 81a5874f7..4bf8b38dd 100644 --- a/src/libstrongswan/fips/fips_signer.c +++ b/src/libstrongswan/fips/fips_signer.c @@ -12,7 +12,7 @@ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * - * $Id: fips_signer.c 3964 2008-05-15 14:01:26Z martin $ + * $Id: fips_signer.c 4258 2008-08-19 18:51:30Z andreas $ */ #include <stdio.h> @@ -28,7 +28,13 @@ int main(int argc, char* argv[]) /* initialize library */ library_init(STRONGSWAN_CONF); - lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, "sha1 hmac"); +#ifdef USE_SHA1 + lib->plugins->load(lib->plugins, PLUGINDIR "/sha1/.libs", "sha1"); +#endif +#ifdef USE_OPENSSL + lib->plugins->load(lib->plugins, PLUGINDIR "/openssl/.libs", "openssl"); +#endif + lib->plugins->load(lib->plugins, PLUGINDIR "/hmac/.libs", "hmac"); if (!fips_compute_hmac_signature(hmac_key, hmac_signature)) { |