- comments added

This commit is contained in:
Martin Willi
2005-12-04 13:01:32 +00:00
parent 09b2bf25a9
commit 89e0f219d0
6 changed files with 193 additions and 12 deletions
@@ -147,6 +147,11 @@ static status_t verify_emsa_pkcs1_signature(private_rsa_public_key_t *this, chun
chunk_t em;
u_int8_t *pos;
if(!this->is_key_set)
{
return INVALID_STATE;
}
if (signature.len > this->k)
{
return INVALID_ARG;