diff options
| author | jsing <> | 2020-05-29 17:47:30 +0000 |
|---|---|---|
| committer | jsing <> | 2020-05-29 17:47:30 +0000 |
| commit | e0e84f310956950abc8c5d9f225578b3f6945ee9 (patch) | |
| tree | 87f4d432f87e6b391e38fa5c2e73bbef1e8dd87d /src/lib/libssl/tls13_internal.h | |
| parent | 0fa647cafcb45ea07c768d172165a3a041e8c58f (diff) | |
| download | openbsd-e0e84f310956950abc8c5d9f225578b3f6945ee9.tar.gz openbsd-e0e84f310956950abc8c5d9f225578b3f6945ee9.tar.bz2 openbsd-e0e84f310956950abc8c5d9f225578b3f6945ee9.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 '')
| -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. |
