mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-12 19:44:51 -04:00
net/handshake: Add API for sending TLS Closure alerts
This helper sends an alert only if a TLS session was established. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Link: https://lore.kernel.org/r/169047936730.5241.618595693821012638.stgit@oracle-102.nfsv4bat.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
0257427146
commit
35b1b538d4
@@ -40,5 +40,6 @@ int tls_server_hello_x509(const struct tls_handshake_args *args, gfp_t flags);
|
||||
int tls_server_hello_psk(const struct tls_handshake_args *args, gfp_t flags);
|
||||
|
||||
bool tls_handshake_cancel(struct sock *sk);
|
||||
void tls_handshake_close(struct socket *sock);
|
||||
|
||||
#endif /* _NET_HANDSHAKE_H */
|
||||
|
||||
Reference in New Issue
Block a user