From 52923c9acb349adec3d1cc039e7a74c2e822da6e Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 28 Apr 2006 07:05:12 +0000 Subject: - renamed get_block_size of hasher --- Source/lib/crypto/rsa/rsa_public_key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/lib/crypto/rsa/rsa_public_key.c') 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); -- cgit v1.2.3