diff options
author | tb <> | 2021-06-01 20:26:11 +0000 |
---|---|---|
committer | tb <> | 2021-06-01 20:26:11 +0000 |
commit | 336e05bda5aedf470537710406eb32f778f8a6e4 (patch) | |
tree | c0d4cc200344acc7ab758bff51772623afe787d0 | |
parent | 9e887183c2a90e6f5fe6b6767d78096483dd5345 (diff) | |
download | openbsd-336e05bda5aedf470537710406eb32f778f8a6e4.tar.gz openbsd-336e05bda5aedf470537710406eb32f778f8a6e4.tar.bz2 openbsd-336e05bda5aedf470537710406eb32f778f8a6e4.zip |
Update RFC reference. RFC 4366 was obsoleted by RFC 6066.
-rw-r--r-- | src/lib/libtls/tls_client.c | 4 |
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 && |