summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_clnt.c
diff options
context:
space:
mode:
authortb <>2026-08-21 17:15:22 +0000
committertb <>2026-08-21 17:15:22 +0000
commitfcc903ee8faa79f7dedb22f05008724ea327bdba (patch)
treed5921661f11d1c73ddb6d9c2302499f7d3466cf1 /src/lib/libssl/ssl_clnt.c
parentc59d718905f8bfe12745fa599341256608e132f4 (diff)
downloadopenbsd-fcc903ee8faa79f7dedb22f05008724ea327bdba.tar.gz
openbsd-fcc903ee8faa79f7dedb22f05008724ea327bdba.tar.bz2
openbsd-fcc903ee8faa79f7dedb22f05008724ea327bdba.zip
Change RFC references from 8446 to 9846 and adjust section numbers
with/ok kenjiro
Diffstat (limited to 'src/lib/libssl/ssl_clnt.c')
-rw-r--r--src/lib/libssl/ssl_clnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_clnt.c b/src/lib/libssl/ssl_clnt.c
index 4803e35dd2..69221332f5 100644
--- a/src/lib/libssl/ssl_clnt.c
+++ b/src/lib/libssl/ssl_clnt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_clnt.c,v 1.175 2026/07/15 15:00:17 jsing Exp $ */ 1/* $OpenBSD: ssl_clnt.c,v 1.176 2026/08/21 17:15:22 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -893,7 +893,7 @@ ssl3_get_server_hello(SSL *s)
893 if (s->s3->hs.our_max_tls_version >= TLS1_2_VERSION && 893 if (s->s3->hs.our_max_tls_version >= TLS1_2_VERSION &&
894 s->s3->hs.negotiated_tls_version < s->s3->hs.our_max_tls_version) { 894 s->s3->hs.negotiated_tls_version < s->s3->hs.our_max_tls_version) {
895 /* 895 /*
896 * RFC 8446 section 4.1.3. We must not downgrade if the server 896 * RFC 9846 section 4.2.3. We must not downgrade if the server
897 * random value contains the TLS 1.2 or TLS 1.1 magical value. 897 * random value contains the TLS 1.2 or TLS 1.1 magical value.
898 */ 898 */
899 if (!CBS_skip(&server_random, 899 if (!CBS_skip(&server_random,