aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.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_plugin.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_plugin.c')
-rw-r--r--src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c b/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c
index 547329dde..03c9bbb52 100644
--- a/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c
+++ b/src/libstrongswan/plugins/gcrypt/gcrypt_plugin.c
@@ -148,6 +148,8 @@ plugin_t *plugin_create()
(hasher_constructor_t)gcrypt_hasher_create);
lib->crypto->add_hasher(lib->crypto, HASH_MD5,
(hasher_constructor_t)gcrypt_hasher_create);
+ lib->crypto->add_hasher(lib->crypto, HASH_SHA224,
+ (hasher_constructor_t)gcrypt_hasher_create);
lib->crypto->add_hasher(lib->crypto, HASH_SHA256,
(hasher_constructor_t)gcrypt_hasher_create);
lib->crypto->add_hasher(lib->crypto, HASH_SHA384,