Fix hash buffer size in pkey programs

This commit is contained in:
Manuel Pégourié-Gonnard 2015-08-27 21:51:44 +02:00
parent d224ff1f63
commit 102a620c9a
8 changed files with 8 additions and 8 deletions

View file

@ -58,7 +58,7 @@ int main( int argc, char *argv[] )
int ret, c;
size_t i;
mbedtls_rsa_context rsa;
unsigned char hash[20];
unsigned char hash[32];
unsigned char buf[MBEDTLS_MPI_MAX_SIZE];
char filename[512];