File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 24
24
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
25
*/
26
26
27
+ #ifdef WINDOWS
28
+ // these should be in the same order as upstream, without the ones we don't support
29
+ #define KEX_SERVER_KEX \
30
+ "curve25519-sha256," \
31
+
32
+ "ecdh-sha2-nistp256," \
33
+ "ecdh-sha2-nistp384," \
34
+ "ecdh-sha2-nistp521," \
35
+ "diffie-hellman-group-exchange-sha256," \
36
+ "diffie-hellman-group16-sha512," \
37
+ "diffie-hellman-group18-sha512," \
38
+ "diffie-hellman-group14-sha256"
39
+ #else
27
40
#define KEX_SERVER_KEX \
28
41
29
42
"curve25519-sha256," \
35
48
"diffie-hellman-group16-sha512," \
36
49
"diffie-hellman-group18-sha512," \
37
50
"diffie-hellman-group14-sha256"
51
+ #endif
38
52
39
53
#define KEX_CLIENT_KEX KEX_SERVER_KEX
40
54
You can’t perform that action at this time.
0 commit comments