diff options
author | jsing <> | 2020-05-29 17:47:30 +0000 |
---|---|---|
committer | jsing <> | 2020-05-29 17:47:30 +0000 |
commit | 574d6f0d7739a1810b9aad1f62716ceadbe58540 (patch) | |
tree | 87f4d432f87e6b391e38fa5c2e73bbef1e8dd87d /src/lib/libssl/tls13_internal.h | |
parent | ff2fa7afa324d94c7698c829a723c0673f95c345 (diff) | |
download | openbsd-574d6f0d7739a1810b9aad1f62716ceadbe58540.tar.gz openbsd-574d6f0d7739a1810b9aad1f62716ceadbe58540.tar.bz2 openbsd-574d6f0d7739a1810b9aad1f62716ceadbe58540.zip |
Wire up the servername callback in the TLSv1.3 server.
This makes SNI work correctly with TLSv1.3.
Found the hard way by danj@, gonzalo@ and others.
ok beck@ inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/tls13_internal.h')
-rw-r--r-- | src/lib/libssl/tls13_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h index 770c18d6ad..96ed981959 100644 --- a/src/lib/libssl/tls13_internal.h +++ b/src/lib/libssl/tls13_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_internal.h,v 1.82 2020/05/23 11:57:41 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_internal.h,v 1.83 2020/05/29 17:47:30 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> |
4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
@@ -311,6 +311,7 @@ int tls13_legacy_read_bytes(SSL *ssl, int type, unsigned char *buf, int len, | |||
311 | int peek); | 311 | int peek); |
312 | int tls13_legacy_write_bytes(SSL *ssl, int type, const void *buf, int len); | 312 | int tls13_legacy_write_bytes(SSL *ssl, int type, const void *buf, int len); |
313 | int tls13_legacy_shutdown(SSL *ssl); | 313 | int tls13_legacy_shutdown(SSL *ssl); |
314 | int tls13_legacy_servername_process(struct tls13_ctx *ctx, uint8_t *alert); | ||
314 | 315 | ||
315 | /* | 316 | /* |
316 | * Message Types - RFC 8446, Section B.3. | 317 | * Message Types - RFC 8446, Section B.3. |