aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_subsystem_sup.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-05-08 15:39:38 +0200
committerHans <[email protected]>2015-05-29 15:00:21 +0200
commit59b5884dfef313c09d79f3c18063297c81fb67d5 (patch)
tree964b651ac9039dec900176bb173456ebf57ffe4f /lib/ssh/src/ssh_subsystem_sup.erl
parent979b94a3f31697fe06f329660f2ea9e48944490a (diff)
downloadotp-59b5884dfef313c09d79f3c18063297c81fb67d5.tar.gz
otp-59b5884dfef313c09d79f3c18063297c81fb67d5.tar.bz2
otp-59b5884dfef313c09d79f3c18063297c81fb67d5.zip
ssh: Check e and f parameters in kexdh
rfc 4253 says in section 8 that: "Values of 'e' or 'f' that are not in the range [1, p-1] MUST NOT be sent or accepted by either side. If this condition is violated, the key exchange fails." This commit implements the reception check.
Diffstat (limited to 'lib/ssh/src/ssh_subsystem_sup.erl')
0 files changed, 0 insertions, 0 deletions