diff options
author | Hans Nilsson <[email protected]> | 2015-08-30 11:20:12 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2015-08-30 11:20:12 +0200 |
commit | ee71e0e20819e2ab9e251f4bb46e8b0b19f2a1b3 (patch) | |
tree | 54bed42d1324159eae0f10039c7d8bc05163b04d /lib/ssh/src/ssh_transport.hrl | |
parent | 4b1202b1b683a2e7a4c7a0da41d4112e255801ec (diff) | |
parent | badee37e8ad95a9da4d497f12e5e291a66561989 (diff) | |
download | otp-ee71e0e20819e2ab9e251f4bb46e8b0b19f2a1b3.tar.gz otp-ee71e0e20819e2ab9e251f4bb46e8b0b19f2a1b3.tar.bz2 otp-ee71e0e20819e2ab9e251f4bb46e8b0b19f2a1b3.zip |
Merge branch 'hans/ssh/test_reorg/OTP-12230' into maint
* hans/ssh/test_reorg/OTP-12230:
ssh: Reorganize and extend the test suites
Diffstat (limited to 'lib/ssh/src/ssh_transport.hrl')
-rw-r--r-- | lib/ssh/src/ssh_transport.hrl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/ssh/src/ssh_transport.hrl b/lib/ssh/src/ssh_transport.hrl index e6449e93c5..0bc6b7953b 100644 --- a/lib/ssh/src/ssh_transport.hrl +++ b/lib/ssh/src/ssh_transport.hrl @@ -30,6 +30,13 @@ -define(DEFAULT_CLIENT_VERSION, {2, 0}). -define(DEFAULT_SERVER_VERSION, {2, 0}). +-define(MAX_NUM_ALGORITHMS, 100). + +-define(DEFAULT_DH_GROUP_MIN, 512). +-define(DEFAULT_DH_GROUP_NBITS, 1024). +-define(DEFAULT_DH_GROUP_MAX, 4096). + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% BASIC transport messages @@ -132,10 +139,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% diffie-hellman-group-exchange-sha1 | diffie-hellman-group-exchange-sha256 --define(DEFAULT_DH_GROUP_MIN, 512). --define(DEFAULT_DH_GROUP_NBITS, 1024). --define(DEFAULT_DH_GROUP_MAX, 4096). - -define(SSH_MSG_KEX_DH_GEX_REQUEST_OLD, 30). -define(SSH_MSG_KEX_DH_GEX_REQUEST, 34). -define(SSH_MSG_KEX_DH_GEX_GROUP, 31). |