From 33ac2874725a8f56b36b0f8dc8e2049b0d66b3d2 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 22 Feb 2015 15:09:54 +0000 Subject: [PATCH] Rename tls_config_insecure_noverifyhost() to tls_config_insecure_noverifyname(), so that it is more accurate and keeps inline with the distinction between DNS hostname and server name. Requested by tedu@ during s2k15. --- src/usr.sbin/ntpd/constraint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr.sbin/ntpd/constraint.c b/src/usr.sbin/ntpd/constraint.c index c9c923e0..680afe16 100644 --- a/src/usr.sbin/ntpd/constraint.c +++ b/src/usr.sbin/ntpd/constraint.c @@ -1,4 +1,4 @@ -/* $OpenBSD: constraint.c,v 1.5 2015/02/22 14:55:41 jsing Exp $ */ +/* $OpenBSD: constraint.c,v 1.6 2015/02/22 15:09:54 jsing Exp $ */ /* * Copyright (c) 2015 Reyk Floeter @@ -599,7 +599,7 @@ httpsdate_init(const char *hname, const char *port, const char *name, goto fail; /* XXX we have to pre-resolve, so name and host are not equal */ - tls_config_insecure_noverifyhost(httpsdate->tls_config); + tls_config_insecure_noverifyname(httpsdate->tls_config); if (ca == NULL || ca_len == 0) tls_config_insecure_noverifycert(httpsdate->tls_config);