aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/transforms/hashers/hasher.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-27 14:04:16 +0000
committerMartin Willi <martin@strongswan.org>2005-11-27 14:04:16 +0000
commitb2410480849950b1797bbdf8490016450f764774 (patch)
treea1b9742b0c381386d6c1202f235bba9f4b817732 /Source/charon/transforms/hashers/hasher.c
parent9d086b79f659166fe5093aa5cbc8dbe97daceda5 (diff)
downloadstrongswan-b2410480849950b1797bbdf8490016450f764774.tar.bz2
strongswan-b2410480849950b1797bbdf8490016450f764774.tar.xz
- moved hasher_*_t to *_hasher_t
- some logging improvements
Diffstat (limited to 'Source/charon/transforms/hashers/hasher.c')
-rw-r--r--Source/charon/transforms/hashers/hasher.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/charon/transforms/hashers/hasher.c b/Source/charon/transforms/hashers/hasher.c
index e71424ed3..dfc654e0a 100644
--- a/Source/charon/transforms/hashers/hasher.c
+++ b/Source/charon/transforms/hashers/hasher.c
@@ -23,8 +23,8 @@
#include "hasher.h"
-#include <transforms/hashers/hasher_sha1.h>
-#include <transforms/hashers/hasher_md5.h>
+#include <transforms/hashers/sha1_hasher.h>
+#include <transforms/hashers/md5_hasher.h>
/**
* mappings for hash_algorithm_t
@@ -44,11 +44,11 @@ hasher_t *hasher_create(hash_algorithm_t hash_algorithm)
{
case HASH_SHA1:
{
- return (hasher_t*)hasher_sha1_create();
+ return (hasher_t*)sha1_hasher_create();
}
case HASH_MD5:
{
- return (hasher_t*)hasher_md5_create();
+ return (hasher_t*)md5_hasher_create();
}
default:
return NULL;