summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libtls/tls_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_client.c b/src/lib/libtls/tls_client.c
index 701bb6fc81..c45684dbb4 100644
--- a/src/lib/libtls/tls_client.c
+++ b/src/lib/libtls/tls_client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls_client.c,v 1.46 2021/06/01 20:14:17 tb Exp $ */ 1/* $OpenBSD: tls_client.c,v 1.47 2021/06/01 20:26:11 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -362,7 +362,7 @@ tls_connect_common(struct tls *ctx, const char *servername)
362 } 362 }
363 363
364 /* 364 /*
365 * RFC4366 (SNI): Literal IPv4 and IPv6 addresses are not 365 * RFC 6066 (SNI): Literal IPv4 and IPv6 addresses are not
366 * permitted in "HostName". 366 * permitted in "HostName".
367 */ 367 */
368 if (ctx->servername != NULL && 368 if (ctx->servername != NULL &&