diff options
Diffstat (limited to 'myproposal.h')
-rw-r--r-- | myproposal.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/myproposal.h b/myproposal.h index 27b4a15a1..f16729876 100644 --- a/myproposal.h +++ b/myproposal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: myproposal.h,v 1.57 2018/09/12 01:34:02 djm Exp $ */ | 1 | /* $OpenBSD: myproposal.h,v 1.58 2019/02/23 08:20:43 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -90,20 +90,15 @@ | |||
90 | # else | 90 | # else |
91 | # define KEX_CURVE25519_METHODS "" | 91 | # define KEX_CURVE25519_METHODS "" |
92 | # endif | 92 | # endif |
93 | #define KEX_COMMON_KEX \ | 93 | #define KEX_SERVER_KEX \ |
94 | KEX_CURVE25519_METHODS \ | 94 | KEX_CURVE25519_METHODS \ |
95 | KEX_ECDH_METHODS \ | 95 | KEX_ECDH_METHODS \ |
96 | KEX_SHA2_METHODS | 96 | KEX_SHA2_METHODS \ |
97 | |||
98 | #define KEX_SERVER_KEX KEX_COMMON_KEX \ | ||
99 | KEX_SHA2_GROUP14 \ | ||
100 | "diffie-hellman-group14-sha1" \ | ||
101 | |||
102 | #define KEX_CLIENT_KEX KEX_COMMON_KEX \ | ||
103 | "diffie-hellman-group-exchange-sha1," \ | ||
104 | KEX_SHA2_GROUP14 \ | 97 | KEX_SHA2_GROUP14 \ |
105 | "diffie-hellman-group14-sha1" | 98 | "diffie-hellman-group14-sha1" |
106 | 99 | ||
100 | #define KEX_CLIENT_KEX KEX_SERVER_KEX | ||
101 | |||
107 | #define KEX_DEFAULT_PK_ALG \ | 102 | #define KEX_DEFAULT_PK_ALG \ |
108 | HOSTKEY_ECDSA_CERT_METHODS \ | 103 | HOSTKEY_ECDSA_CERT_METHODS \ |
109 | "ssh-ed25519-cert-v01@openssh.com," \ | 104 | "ssh-ed25519-cert-v01@openssh.com," \ |