- hmac supports md5
authorMartin Willi <martin@strongswan.org>
Wed, 23 Nov 2005 06:54:44 +0000 (06:54 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 23 Nov 2005 06:54:44 +0000 (06:54 -0000)
Source/charon/transforms/hmac.c

index 550e590..4ec9de1 100644 (file)
@@ -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: