diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-24 11:30:19 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-24 11:30:19 +0000 |
commit | 5796aa164d79b2ffaf2839b281d490be6a72d1d8 (patch) | |
tree | 4031a623426b19bf03b2c61cd73a504e218fb1fb /Source/charon/transforms/hashers/hasher.h | |
parent | 95c61cb956505cdb0a91c8c8cd134dda3aac744d (diff) | |
download | strongswan-5796aa164d79b2ffaf2839b281d490be6a72d1d8.tar.bz2 strongswan-5796aa164d79b2ffaf2839b281d490be6a72d1d8.tar.xz |
- typedefs changed
Diffstat (limited to 'Source/charon/transforms/hashers/hasher.h')
-rw-r--r-- | Source/charon/transforms/hashers/hasher.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/charon/transforms/hashers/hasher.h b/Source/charon/transforms/hashers/hasher.h index a20ec6813..8b4699a3e 100644 --- a/Source/charon/transforms/hashers/hasher.h +++ b/Source/charon/transforms/hashers/hasher.h @@ -26,23 +26,23 @@ #include <types.h> +typedef enum hash_algorithm_t hash_algorithm_t; + /** * algorithms to use for hashing */ -typedef enum hash_algorithm_e hash_algorithm_t; - -enum hash_algorithm_e { +enum hash_algorithm_t { HASH_SHA1, HASH_MD5 }; +typedef struct hasher_t hasher_t; + /** * Object representing a hasher */ -typedef struct hasher_s hasher_t; - -struct hasher_s { +struct hasher_t { /** * @brief hash data and write it in the buffer * |