aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/crypto/rsa
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-04-28 07:05:12 +0000
committerMartin Willi <martin@strongswan.org>2006-04-28 07:05:12 +0000
commit52923c9acb349adec3d1cc039e7a74c2e822da6e (patch)
tree5d723572fb2ede8b4cb96734468eb7c4f9b658d4 /Source/lib/crypto/rsa
parenteea353466ec86ad5fd3fc4fb7ac560ebced64f3d (diff)
downloadstrongswan-52923c9acb349adec3d1cc039e7a74c2e822da6e.tar.bz2
strongswan-52923c9acb349adec3d1cc039e7a74c2e822da6e.tar.xz
- renamed get_block_size of hasher
Diffstat (limited to 'Source/lib/crypto/rsa')
-rw-r--r--Source/lib/crypto/rsa/rsa_public_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/lib/crypto/rsa/rsa_public_key.c b/Source/lib/crypto/rsa/rsa_public_key.c
index 6b6988b62..6601b6cda 100644
--- a/Source/lib/crypto/rsa/rsa_public_key.c
+++ b/Source/lib/crypto/rsa/rsa_public_key.c
@@ -272,7 +272,7 @@ static status_t verify_emsa_pkcs1_signature(private_rsa_public_key_t *this, chun
return NOT_SUPPORTED;
}
- if (pos + hasher->get_block_size(hasher) != em.ptr + em.len)
+ if (pos + hasher->get_hash_size(hasher) != em.ptr + em.len)
{
/* bad length */
free(em.ptr);