Made changes only for Windows port

This commit is contained in:
Andrew 2023-11-30 21:25:25 +00:00
parent 5c521f6f7b
commit e0d46bca88
1 changed files with 14 additions and 0 deletions

View File

@ -63,6 +63,7 @@
#define KEX_CLIENT_ENCRYPT KEX_SERVER_ENCRYPT
#ifdef WINDOWS
#define KEX_SERVER_MAC \
"umac-64-etm@openssh.com," \
"umac-128-etm@openssh.com," \
@ -72,6 +73,19 @@
"umac-128@openssh.com," \
"hmac-sha2-256," \
"hmac-sha2-512,"
#else
#define KEX_SERVER_MAC \
"umac-64-etm@openssh.com," \
"umac-128-etm@openssh.com," \
"hmac-sha2-256-etm@openssh.com," \
"hmac-sha2-512-etm@openssh.com," \
"hmac-sha1-etm@openssh.com," \
"umac-64@openssh.com," \
"umac-128@openssh.com," \
"hmac-sha2-256," \
"hmac-sha2-512," \
"hmac-sha1"
#endif
#define KEX_CLIENT_MAC KEX_SERVER_MAC