Skip to content

Commit 4273dd2

Browse files
committed
fix KEX_CLIENT_KEX definition that got messed up during merge
1 parent c99b1e8 commit 4273dd2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

myproposal.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,12 @@
2727
#ifdef WINDOWS
2828
// these should be in the same order as upstream, without the ones we don't support
2929
#define KEX_SERVER_KEX \
30+
"mlkem768x25519-sha256," \
3031
"curve25519-sha256," \
3132
3233
"ecdh-sha2-nistp256," \
3334
"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"
35+
"ecdh-sha2-nistp521,"
3936
#else
4037
#define KEX_SERVER_KEX \
4138
"mlkem768x25519-sha256," \
@@ -45,14 +42,14 @@
4542
4643
"ecdh-sha2-nistp256," \
4744
"ecdh-sha2-nistp384," \
48-
"ecdh-sha2-nistp521" \
45+
"ecdh-sha2-nistp521"
46+
#endif
4947

5048
#define KEX_CLIENT_KEX KEX_SERVER_KEX "," \
5149
"diffie-hellman-group-exchange-sha256," \
5250
"diffie-hellman-group16-sha512," \
5351
"diffie-hellman-group18-sha512," \
5452
"diffie-hellman-group14-sha256"
55-
#endif
5653

5754
#define KEX_DEFAULT_PK_ALG \
5855

0 commit comments

Comments
 (0)