diff options
Diffstat (limited to 'kexdh.c')
-rw-r--r-- | kexdh.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -48,13 +48,23 @@ kex_dh_keygen(struct kex *kex) | |||
48 | { | 48 | { |
49 | switch (kex->kex_type) { | 49 | switch (kex->kex_type) { |
50 | case KEX_DH_GRP1_SHA1: | 50 | case KEX_DH_GRP1_SHA1: |
51 | #ifdef GSSAPI | ||
52 | case KEX_GSS_GRP1_SHA1: | ||
53 | #endif | ||
51 | kex->dh = dh_new_group1(); | 54 | kex->dh = dh_new_group1(); |
52 | break; | 55 | break; |
53 | case KEX_DH_GRP14_SHA1: | 56 | case KEX_DH_GRP14_SHA1: |
54 | case KEX_DH_GRP14_SHA256: | 57 | case KEX_DH_GRP14_SHA256: |
58 | #ifdef GSSAPI | ||
59 | case KEX_GSS_GRP14_SHA1: | ||
60 | case KEX_GSS_GRP14_SHA256: | ||
61 | #endif | ||
55 | kex->dh = dh_new_group14(); | 62 | kex->dh = dh_new_group14(); |
56 | break; | 63 | break; |
57 | case KEX_DH_GRP16_SHA512: | 64 | case KEX_DH_GRP16_SHA512: |
65 | #ifdef GSSAPI | ||
66 | case KEX_GSS_GRP16_SHA512: | ||
67 | #endif | ||
58 | kex->dh = dh_new_group16(); | 68 | kex->dh = dh_new_group16(); |
59 | break; | 69 | break; |
60 | case KEX_DH_GRP18_SHA512: | 70 | case KEX_DH_GRP18_SHA512: |