commit | a1dfa6812b682eef750412dd5a90e7d38d7af068 | [log] [tgz] |
---|---|---|
author | Boris Pismenny <borisp@mellanox.com> | Wed Feb 14 10:46:06 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 14 15:05:19 2018 -0500 |
tree | 99850708433de9870bf9aa9f356809b0eec28f90 | |
parent | 8ace02073ee6e8c0e559f712d7784fcbd555c839 [diff] |
tls: retrun the correct IV in getsockopt Current code returns four bytes of salt followed by four bytes of IV. This patch returns all eight bytes of IV. fixes: 3c4d7559159b ("tls: kernel TLS support") Signed-off-by: Boris Pismenny <borisp@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>