X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/7090f35ef6488cfff4cd9eced456378c4ca8e09d..2ccb2fc83a62d8ded4b0287b72384ce22a83000c:/sshdh.c diff --git a/sshdh.c b/sshdh.c index 8d984625..48f277a7 100644 --- a/sshdh.c +++ b/sshdh.c @@ -74,12 +74,18 @@ const struct ssh_kexes ssh_diffiehellman_group14 = { group14_list }; +static const struct ssh_kex ssh_diffiehellman_gex_sha256 = { + "diffie-hellman-group-exchange-sha256", NULL, + NULL, NULL, 0, 0, &ssh_sha256 +}; + static const struct ssh_kex ssh_diffiehellman_gex_sha1 = { "diffie-hellman-group-exchange-sha1", NULL, NULL, NULL, 0, 0, &ssh_sha1 }; static const struct ssh_kex *const gex_list[] = { + &ssh_diffiehellman_gex_sha256, &ssh_diffiehellman_gex_sha1 };