Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion man/man5/tlshd.conf.5
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.\" tlshd.conf(5)
.\"
.\" Copyright (c) 2022 Oracle and/or its affiliates.
.TH tlshd.conf 5 "$(date +'%B %Y')"
.TH tlshd.conf 5 "23 Sep 2025"
.SH NAME
tlshd.conf \- tlshd configuration file
.SH SYNOPSIS
Expand Down
8 changes: 4 additions & 4 deletions src/tlshd/handshake.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ void tlshd_start_tls_handshake(gnutls_session_t session,
case GNUTLS_E_CERTIFICATE_VERIFICATION_ERROR:
tlshd_log_cert_verification_error(session);
break;
case -ETIMEDOUT:
tlshd_log_gnutls_error(ret);
parms->session_status = -ret;
case GNUTLS_E_PREMATURE_TERMINATION:
tlshd_log_error("Handshake timeout, retrying");
parms->session_status = ETIMEDOUT;
break;
default:
tlshd_log_notice("tlshd_start_tls_handshake unhandled error %d, returning EACCES\n", ret);
tlshd_log_gnutls_error(ret);
}
return;
}
Expand Down