buffer size of rsa_verify

This commit is contained in:
NIIBE Yutaka
2012-05-31 18:19:39 +09:00
parent 5cafb8a84f
commit 7860f1e729
2 changed files with 3 additions and 1 deletions

View File

@@ -542,7 +542,7 @@ int rsa_pkcs1_verify( rsa_context *ctx,
{
int ret, len, siglen;
unsigned char *p, c;
unsigned char buf[1024];
unsigned char buf[256];
siglen = ctx->len;