Skip to content

Commit db7727d

Browse files
authored
Merge pull request #126 from oracle/cel-fixes
Two clean-ups
2 parents a587a03 + b52ca7c commit db7727d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

man/man5/tlshd.conf.5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
.\" tlshd.conf(5)
1919
.\"
2020
.\" Copyright (c) 2022 Oracle and/or its affiliates.
21-
.TH tlshd.conf 5 "$(date +'%B %Y')"
21+
.TH tlshd.conf 5 "23 Sep 2025"
2222
.SH NAME
2323
tlshd.conf \- tlshd configuration file
2424
.SH SYNOPSIS

src/tlshd/handshake.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ void tlshd_start_tls_handshake(gnutls_session_t session,
9797
case GNUTLS_E_CERTIFICATE_VERIFICATION_ERROR:
9898
tlshd_log_cert_verification_error(session);
9999
break;
100-
case -ETIMEDOUT:
101-
tlshd_log_gnutls_error(ret);
102-
parms->session_status = -ret;
100+
case GNUTLS_E_PREMATURE_TERMINATION:
101+
tlshd_log_error("Handshake timeout, retrying");
102+
parms->session_status = ETIMEDOUT;
103103
break;
104104
default:
105-
tlshd_log_notice("tlshd_start_tls_handshake unhandled error %d, returning EACCES\n", ret);
105+
tlshd_log_gnutls_error(ret);
106106
}
107107
return;
108108
}

0 commit comments

Comments
 (0)