commit | ee7db9cb6d0746ce36e71cc2d32ef5c302b675ea | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Mon Aug 31 11:32:03 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Mon Aug 31 11:32:03 2015 +0200 |
tree | e7d81c1276afe0c9f63c5addf47917512beca113 | |
parent | 6432c7e78257c85637e8c41d4008ba18ddccca0d [diff] [blame] |
Fix hash buffer size in pkey programs backport from 102a620
diff --git a/programs/pkey/dh_server.c b/programs/pkey/dh_server.c index 0ac91a4..cc75ee8 100644 --- a/programs/pkey/dh_server.c +++ b/programs/pkey/dh_server.c
@@ -75,7 +75,7 @@ int client_fd = -1; unsigned char buf[2048]; - unsigned char hash[20]; + unsigned char hash[32]; unsigned char buf2[2]; const char *pers = "dh_server";