Skip to content

Conversation

chucklever
Copy link
Member

Correct a date expression in a man page, and clean up the error flows after handshake completion.

Fixes: b8adcac ("tlshd: Relocate /etc/tlshd.conf")
Signed-off-by: Chuck Lever <[email protected]>
gnutls_handshake() is supposed to return only a GNUTLS_E value, and
the session_status field is supposed to contain only a positive
errno.

GNUTLS_E_PREMATURE_TERMINATION is -110. It turns out that on x86,
-ETIMEDOUT is also -110. Make sure the correct symbolic constants
and auditing functions are utilized.

Fixes: b010190 ("tlshd: Pass ETIMEDOUT from gnutls to kernel")
Reviewed-by: Benjamin Coddington <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
@chucklever chucklever merged commit db7727d into main Sep 24, 2025
12 of 13 checks passed
@chucklever chucklever deleted the cel-fixes branch September 24, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant