summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-06-01 20:26:12 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-06-01 20:26:12 +0000
commit74b95618c7d4bde1dd05452b9fec1352db9b5345 (patch)
treef7c4c36b3a9c126a164754813bd23995288367cc
parent05194becc71a90123767fe8ce93bb7e54c0eaf26 (diff)
Update RFC reference. RFC 4366 was obsoleted by RFC 6066.
-rw-r--r--lib/libtls/tls_client.c4
1 files 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 <jsing@openbsd.org>
*
@@ -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 &&