diff options
author | Martin Willi <martin@strongswan.org> | 2006-04-28 07:05:12 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-04-28 07:05:12 +0000 |
commit | 52923c9acb349adec3d1cc039e7a74c2e822da6e (patch) | |
tree | 5d723572fb2ede8b4cb96734468eb7c4f9b658d4 /Source/lib/crypto/rsa | |
parent | eea353466ec86ad5fd3fc4fb7ac560ebced64f3d (diff) | |
download | strongswan-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.c | 2 |
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); |