From 5beec0e27e162053c8a63ec826ed950c6158be25 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 1 Jun 2021 20:26:11 +0000 Subject: [PATCH] Update RFC reference. RFC 4366 was obsoleted by RFC 6066. --- lib/libtls/tls_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libtls/tls_client.c b/lib/libtls/tls_client.c index 701bb6fc810..c45684dbb46 100644 --- a/lib/libtls/tls_client.c +++ b/lib/libtls/tls_client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_client.c,v 1.46 2021/06/01 20:14:17 tb Exp $ */ +/* $OpenBSD: tls_client.c,v 1.47 2021/06/01 20:26:11 tb Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -362,7 +362,7 @@ tls_connect_common(struct tls *ctx, const char *servername) } /* - * RFC4366 (SNI): Literal IPv4 and IPv6 addresses are not + * RFC 6066 (SNI): Literal IPv4 and IPv6 addresses are not * permitted in "HostName". */ if (ctx->servername != NULL && -- 2.20.1