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

@@ -75,7 +75,7 @@ int main( void )
unsigned char *p, *end;
unsigned char buf[2048];
unsigned char hash[20];
unsigned char hash[32];
const char *pers = "dh_client";
mbedtls_entropy_context entropy;