diff options
author | beck <> | 2020-01-23 08:44:31 +0000 |
---|---|---|
committer | beck <> | 2020-01-23 08:44:31 +0000 |
commit | 8d4bd61260ee3ef0237ff103fbfa530c1c352552 (patch) | |
tree | 43e004b762f7f99d529923588baf2fc916ebd143 /src | |
parent | 2e68d19baa1dd9f1c5e5f544dc3004683c5f618e (diff) | |
download | openbsd-8d4bd61260ee3ef0237ff103fbfa530c1c352552.tar.gz openbsd-8d4bd61260ee3ef0237ff103fbfa530c1c352552.tar.bz2 openbsd-8d4bd61260ee3ef0237ff103fbfa530c1c352552.zip |
Build the encrypted extensions for the 1.3 server
ok jsing@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/tls13_server.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/libssl/tls13_server.c b/src/lib/libssl/tls13_server.c index 6171010772..87a2ebc947 100644 --- a/src/lib/libssl/tls13_server.c +++ b/src/lib/libssl/tls13_server.c | |||
@@ -1,6 +1,7 @@ | |||
1 | /* $OpenBSD: tls13_server.c,v 1.9 2020/01/23 06:59:11 beck Exp $ */ | 1 | /* $OpenBSD: tls13_server.c,v 1.10 2020/01/23 08:44:31 beck Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | ||
4 | * | 5 | * |
5 | * Permission to use, copy, modify, and distribute this software for any | 6 | * Permission to use, copy, modify, and distribute this software for any |
6 | * purpose with or without fee is hereby granted, provided that the above | 7 | * purpose with or without fee is hereby granted, provided that the above |
@@ -341,6 +342,11 @@ tls13_server_hello_retry_send(struct tls13_ctx *ctx, CBB *cbb) | |||
341 | int | 342 | int |
342 | tls13_server_encrypted_extensions_send(struct tls13_ctx *ctx, CBB *cbb) | 343 | tls13_server_encrypted_extensions_send(struct tls13_ctx *ctx, CBB *cbb) |
343 | { | 344 | { |
345 | if (!tlsext_server_build(ctx->ssl, cbb, SSL_TLSEXT_MSG_EE)) | ||
346 | goto err; | ||
347 | |||
348 | return 1; | ||
349 | err: | ||
344 | return 0; | 350 | return 0; |
345 | } | 351 | } |
346 | 352 | ||