aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/gcrypt/gcrypt_hasher.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-08-05 22:01:13 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-08-05 22:01:44 +0200
commitb6f739c13b972b8468bea1e919426dce8a65cdc3 (patch)
treeb0d8214221913a38c6121a39f3da2246762abdcf /src/libstrongswan/plugins/gcrypt/gcrypt_hasher.c
parent7da1f4a0ffebd22018b37a7d5533b1cfc2105d49 (diff)
downloadstrongswan-b6f739c13b972b8468bea1e919426dce8a65cdc3.tar.bz2
strongswan-b6f739c13b972b8468bea1e919426dce8a65cdc3.tar.xz
support of SHA224-based certificate signatures
Diffstat (limited to 'src/libstrongswan/plugins/gcrypt/gcrypt_hasher.c')
-rw-r--r--src/libstrongswan/plugins/gcrypt/gcrypt_hasher.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/gcrypt/gcrypt_hasher.c b/src/libstrongswan/plugins/gcrypt/gcrypt_hasher.c
index 785ebda90..41e17c897 100644
--- a/src/libstrongswan/plugins/gcrypt/gcrypt_hasher.c
+++ b/src/libstrongswan/plugins/gcrypt/gcrypt_hasher.c
@@ -116,6 +116,9 @@ gcrypt_hasher_t *gcrypt_hasher_create(hash_algorithm_t algo)
case HASH_SHA1:
gcrypt_alg = GCRY_MD_SHA1;
break;
+ case HASH_SHA224:
+ gcrypt_alg = GCRY_MD_SHA224;
+ break;
case HASH_SHA256:
gcrypt_alg = GCRY_MD_SHA256;
break;