diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-23 06:54:44 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-23 06:54:44 +0000 |
commit | 1484eedb15d41b5ef3697434d695d14e322c4f38 (patch) | |
tree | 2ba1af642d080289eb495124e698c4d95e482e48 /Source/charon/transforms/hmac.c | |
parent | 2018a40a227a4756757d9458186de7c120e3f07b (diff) | |
download | strongswan-1484eedb15d41b5ef3697434d695d14e322c4f38.tar.bz2 strongswan-1484eedb15d41b5ef3697434d695d14e322c4f38.tar.xz |
- hmac supports md5
Diffstat (limited to 'Source/charon/transforms/hmac.c')
-rw-r--r-- | Source/charon/transforms/hmac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/charon/transforms/hmac.c b/Source/charon/transforms/hmac.c index 550e590b3..4ec9de19c 100644 --- a/Source/charon/transforms/hmac.c +++ b/Source/charon/transforms/hmac.c @@ -199,6 +199,7 @@ hmac_t *hmac_create(hash_algorithm_t hash_algorithm) switch (hash_algorithm) { case HASH_SHA1: + case HASH_MD5: this->b = 64; break; default: |