aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/hmac/hmac_signer.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-03-24 10:24:58 +0000
committerMartin Willi <martin@strongswan.org>2009-03-24 10:24:58 +0000
commit4a6b84a93461b5ef7a3ad491c1894418db2c555b (patch)
tree4b532a5b23d5d250158b44f00cd0f914359da5d2 /src/libstrongswan/plugins/hmac/hmac_signer.c
parent623bca407be12418fbaccdca977546ed4853e36e (diff)
downloadstrongswan-4a6b84a93461b5ef7a3ad491c1894418db2c555b.tar.bz2
strongswan-4a6b84a93461b5ef7a3ad491c1894418db2c555b.tar.xz
reintegrated eap-radius branch into trunk
Diffstat (limited to 'src/libstrongswan/plugins/hmac/hmac_signer.c')
-rw-r--r--src/libstrongswan/plugins/hmac/hmac_signer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/hmac/hmac_signer.c b/src/libstrongswan/plugins/hmac/hmac_signer.c
index 1b6f80d7b..7678a3eeb 100644
--- a/src/libstrongswan/plugins/hmac/hmac_signer.c
+++ b/src/libstrongswan/plugins/hmac/hmac_signer.c
@@ -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;