diff options
author | beck <> | 2020-01-23 08:44:31 +0000 |
---|---|---|
committer | beck <> | 2020-01-23 08:44:31 +0000 |
commit | 70924e04e3da29e2a630b2f51a0a1afac1e35107 (patch) | |
tree | 43e004b762f7f99d529923588baf2fc916ebd143 /src/lib/libssl | |
parent | 0a8bfef0e02ebe3b5600801ce49804de5f159f59 (diff) | |
download | openbsd-70924e04e3da29e2a630b2f51a0a1afac1e35107.tar.gz openbsd-70924e04e3da29e2a630b2f51a0a1afac1e35107.tar.bz2 openbsd-70924e04e3da29e2a630b2f51a0a1afac1e35107.zip |
Build the encrypted extensions for the 1.3 server
ok jsing@
Diffstat (limited to 'src/lib/libssl')
-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 | ||