aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-05-28 14:57:59 +0200
committerMartin Willi <martin@strongswan.org>2009-05-28 15:03:57 +0200
commit178bf4c5e9818b3f9e436a5aef80696e10f69d8c (patch)
treedf7355c0c8f8356510c20f62ee1e122811f7de6f
parent435e23e647c021b767a723f2fe406e78860685a0 (diff)
downloadstrongswan-178bf4c5e9818b3f9e436a5aef80696e10f69d8c.tar.bz2
strongswan-178bf4c5e9818b3f9e436a5aef80696e10f69d8c.tar.xz
register the already implemented AUTH_HMAC_SHA1_160 algorithm
-rw-r--r--src/libstrongswan/plugins/hmac/hmac_plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/hmac/hmac_plugin.c b/src/libstrongswan/plugins/hmac/hmac_plugin.c
index abaab19ee..aa1e994b0 100644
--- a/src/libstrongswan/plugins/hmac/hmac_plugin.c
+++ b/src/libstrongswan/plugins/hmac/hmac_plugin.c
@@ -68,6 +68,8 @@ plugin_t *plugin_create()
(signer_constructor_t)hmac_signer_create);
lib->crypto->add_signer(lib->crypto, AUTH_HMAC_SHA1_128,
(signer_constructor_t)hmac_signer_create);
+ lib->crypto->add_signer(lib->crypto, AUTH_HMAC_SHA1_160,
+ (signer_constructor_t)hmac_signer_create);
lib->crypto->add_signer(lib->crypto, AUTH_HMAC_SHA2_256_128,
(signer_constructor_t)hmac_signer_create);
lib->crypto->add_signer(lib->crypto, AUTH_HMAC_MD5_96,