diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-04-08 11:31:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-10 17:32:11 +0100 |
commit | 4175eac37123a68ebee71f288826339fb89bfec7 (patch) | |
tree | 51737f7c36a156c4901a095061f71d81230915af /include/net/tls.h | |
parent | 9bdf75ccffa690237cd0b472cd598cf6d22873dc (diff) | |
download | linux-4175eac37123a68ebee71f288826339fb89bfec7.tar.bz2 |
tls: rx: wrap decryption arguments in a structure
We pass zc as a pointer to bool a few functions down as an in/out
argument. This is error prone since C will happily evalue a pointer
as a boolean (IOW forgetting *zc and writing zc leads to loss of
developer time..). Wrap the arguments into a structure.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tls.h')
0 files changed, 0 insertions, 0 deletions