commit | 102a620c9a2f6c98f51766bfcbf62ec4e349856e | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Thu Aug 27 21:51:44 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Mon Aug 31 10:34:27 2015 +0200 |
tree | c73567b0ed042ac8dfa6534de05689583a98e3c5 | |
parent | d224ff1f632c1db5f3842559e833f4eedefb1c44 [diff] [blame] |
Fix hash buffer size in pkey programs
diff --git a/programs/pkey/dh_client.c b/programs/pkey/dh_client.c index 10b9b7a..2909d1d 100644 --- a/programs/pkey/dh_client.c +++ b/programs/pkey/dh_client.c
@@ -75,7 +75,7 @@ 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;