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

@ -59,7 +59,7 @@ int main( int argc, char *argv[] )
int ret = 1;
size_t i;
mbedtls_pk_context pk;
unsigned char hash[20];
unsigned char hash[32];
unsigned char buf[MBEDTLS_MPI_MAX_SIZE];
char filename[512];