wolfSSL / wolfssh

wolfSSH is a small, fast, portable SSH implementation, including support for SCP and SFTP.
https://www.wolfssl.com
367 stars 88 forks source link

Failed to connect to wolfssh server with kex ID_ECDH_SHA2_NISTP* #678

Closed oleg35hp closed 3 months ago

oleg35hp commented 4 months ago

internal.c, SendKexDhReply:

Flags useEcc, useEccKyber and useCurve25519 are mutual exclusive, and missed 'else if' at line 10219 leads to error code WS_ERROR at line 10413.

ejohnstown commented 4 months ago

I'm taking a look at this. I see a few inconsistencies in the code. Thanks for the feedback.