mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-07 08:02:56 +03:00
Add ./configure option '--disable-gex-new' to fallback on
older diffie-hellman-group-exchange-sha1 syntax. i.e. Use SSH_MSG_KEX_DH_GEX_REQUEST_OLD rather then SSH_MSG_KEX_DH_GEX_REQUEST See draft-ietf-secsh-dh-group-exchange section 7 for details.
This commit is contained in:
@@ -97,9 +97,6 @@
|
||||
#endif
|
||||
/* LIBSSH2_MAC_NONE already defined (or not) by ./configure */
|
||||
|
||||
/* Enable the "new" version of diffie-hellman-group-exchange-sha1 */
|
||||
#define LIBSSH2_DH_GEX_NEW
|
||||
|
||||
/* Default generate and safe prime sizes for diffie-hellman-group-exchange-sha1 */
|
||||
#define LIBSSH2_DH_GEX_MINGROUP 1024
|
||||
#define LIBSSH2_DH_GEX_OPTGROUP 1536
|
||||
|
Reference in New Issue
Block a user