summaryrefslogtreecommitdiff
path: root/src/libstrongswan/plugins/hmac/hmac_signer.c
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2009-04-01 20:56:41 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2009-04-01 20:56:41 +0000
commitf46b6f36ae2a46f92f69b096a58d6ff96726a9ed (patch)
tree370b1aa2e1f2f4b5c3dd8ee9a4749c9c6e79575f /src/libstrongswan/plugins/hmac/hmac_signer.c
parent188bacbfe68aa6cbbaaa6cbd26b334f634f23871 (diff)
downloadvyos-strongswan-f46b6f36ae2a46f92f69b096a58d6ff96726a9ed.tar.gz
vyos-strongswan-f46b6f36ae2a46f92f69b096a58d6ff96726a9ed.zip
- New upstream release to hopefully compile on sid.
Diffstat (limited to 'src/libstrongswan/plugins/hmac/hmac_signer.c')
-rw-r--r--src/libstrongswan/plugins/hmac/hmac_signer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/hmac/hmac_signer.c b/src/libstrongswan/plugins/hmac/hmac_signer.c
index cdfc819f1..89cae1716 100644
--- a/src/libstrongswan/plugins/hmac/hmac_signer.c
+++ b/src/libstrongswan/plugins/hmac/hmac_signer.c
@@ -13,7 +13,7 @@
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
- * $Id: hmac_signer.c 3488 2008-02-21 15:10:02Z martin $
+ * $Id: hmac_signer.c 4997 2009-03-24 10:24:58Z martin $
*/
#include <string.h>
@@ -159,6 +159,10 @@ hmac_signer_t *hmac_signer_create(integrity_algorithm_t algo)
hash = HASH_MD5;
trunc = 12;
break;
+ case AUTH_HMAC_MD5_128:
+ hash = HASH_MD5;
+ trunc = 16;
+ break;
case AUTH_HMAC_SHA2_256_128:
hash = HASH_SHA256;
trunc = 16;