[Git][NTPsec/ntpsec][master] set the SNI field for the TLS connection in a NTS key exchange
Hal Murray (@hal.murray)
gitlab at mg.gitlab.com
Sun Feb 15 07:55:41 UTC 2026
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
5eeec58a by Marc Schoolderman at 2026-02-13T16:52:00+01:00
set the SNI field for the TLS connection in a NTS key exchange
- - - - -
1 changed file:
- ntpd/nts_client.c
Changes:
=====================================
ntpd/nts_client.c
=====================================
@@ -478,6 +478,7 @@ void set_hostname(SSL *ssl, const char *hostname) {
*/
SSL_set_hostflags(ssl, X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS);
SSL_set1_host(ssl, host);
+ SSL_set_tlsext_host_name(ssl, host);
msyslog(LOG_DEBUG, "NTSc: set cert host: %s", host);
}
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/5eeec58ace6524c124acec101a0bb14a3c76f1bf
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/5eeec58ace6524c124acec101a0bb14a3c76f1bf
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20260215/fc05074b/attachment.htm>
More information about the vc
mailing list