diff options
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor.c,v 1.194 2019/01/21 10:24:09 djm Exp $ */ | 1 | /* $OpenBSD: monitor.c,v 1.195 2019/01/21 10:28:02 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> | 4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> |
@@ -1677,11 +1677,11 @@ monitor_apply_keystate(struct ssh *ssh, struct monitor *pmonitor) | |||
1677 | if ((kex = ssh->kex) != NULL) { | 1677 | if ((kex = ssh->kex) != NULL) { |
1678 | /* XXX set callbacks */ | 1678 | /* XXX set callbacks */ |
1679 | #ifdef WITH_OPENSSL | 1679 | #ifdef WITH_OPENSSL |
1680 | kex->kex[KEX_DH_GRP1_SHA1] = kexdh_server; | 1680 | kex->kex[KEX_DH_GRP1_SHA1] = kex_kem_server; |
1681 | kex->kex[KEX_DH_GRP14_SHA1] = kexdh_server; | 1681 | kex->kex[KEX_DH_GRP14_SHA1] = kex_kem_server; |
1682 | kex->kex[KEX_DH_GRP14_SHA256] = kexdh_server; | 1682 | kex->kex[KEX_DH_GRP14_SHA256] = kex_kem_server; |
1683 | kex->kex[KEX_DH_GRP16_SHA512] = kexdh_server; | 1683 | kex->kex[KEX_DH_GRP16_SHA512] = kex_kem_server; |
1684 | kex->kex[KEX_DH_GRP18_SHA512] = kexdh_server; | 1684 | kex->kex[KEX_DH_GRP18_SHA512] = kex_kem_server; |
1685 | kex->kex[KEX_DH_GEX_SHA1] = kexgex_server; | 1685 | kex->kex[KEX_DH_GEX_SHA1] = kexgex_server; |
1686 | kex->kex[KEX_DH_GEX_SHA256] = kexgex_server; | 1686 | kex->kex[KEX_DH_GEX_SHA256] = kexgex_server; |
1687 | # ifdef OPENSSL_HAS_ECC | 1687 | # ifdef OPENSSL_HAS_ECC |