diff options
author | Hans Nilsson <[email protected]> | 2015-05-08 15:39:38 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2015-05-08 15:39:38 +0200 |
commit | 1dbb97809d0d4cafab45cf0f0281f88ed777cae3 (patch) | |
tree | 973cf8f3e8dd34b28141fdd86314bda96bf68368 /lib/xmerl | |
parent | 2d0a8355e2eb2a322a72d0fa9e396113a222b196 (diff) | |
download | otp-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 'lib/xmerl')
0 files changed, 0 insertions, 0 deletions