aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_term.h
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-05-08 15:39:38 +0200
committerHans Nilsson <[email protected]>2015-05-08 15:39:38 +0200
commit1dbb97809d0d4cafab45cf0f0281f88ed777cae3 (patch)
tree973cf8f3e8dd34b28141fdd86314bda96bf68368 /erts/emulator/beam/erl_term.h
parent2d0a8355e2eb2a322a72d0fa9e396113a222b196 (diff)
downloadotp-1dbb97809d0d4cafab45cf0f0281f88ed777cae3.tar.gz
otp-1dbb97809d0d4cafab45cf0f0281f88ed777cae3.tar.bz2
otp-1dbb97809d0d4cafab45cf0f0281f88ed777cae3.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 'erts/emulator/beam/erl_term.h')
0 files changed, 0 insertions, 0 deletions