aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/transforms/prfs/prf_hmac.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-23 07:17:12 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-23 07:17:12 +0000
commit99a9676d456c043c4b8dd856ef28d5e413b402d7 (patch)
treeb9595755edd6ebad78441836efec2c435505838b /Source/charon/transforms/prfs/prf_hmac.c
parentda93259175d3efafc7175ef0279f62fcc3335169 (diff)
downloadstrongswan-99a9676d456c043c4b8dd856ef28d5e413b402d7.tar.bz2
strongswan-99a9676d456c043c4b8dd856ef28d5e413b402d7.tar.xz
- bug in creating fixed
Diffstat (limited to 'Source/charon/transforms/prfs/prf_hmac.c')
-rw-r--r--Source/charon/transforms/prfs/prf_hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/transforms/prfs/prf_hmac.c b/Source/charon/transforms/prfs/prf_hmac.c
index 3ebe45d98..b16554eb1 100644
--- a/Source/charon/transforms/prfs/prf_hmac.c
+++ b/Source/charon/transforms/prfs/prf_hmac.c
@@ -101,7 +101,7 @@ prf_hmac_t *prf_hmac_create(hash_algorithm_t hash_algorithm)
this->public.prf_interface.set_key = (status_t (*) (prf_t *,chunk_t))set_key;
this->public.prf_interface.destroy = (status_t (*) (prf_t *))destroy;
- this->hmac = hmac_create(HASH_SHA1);
+ this->hmac = hmac_create(hash_algorithm);
if (this->hmac == NULL)
{
allocator_free(this);