diff options
Diffstat (limited to 'src/lib/libssl/tls13_server.c')
| -rw-r--r-- | src/lib/libssl/tls13_server.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libssl/tls13_server.c b/src/lib/libssl/tls13_server.c index f3d21a7477..9bc4cb6170 100644 --- a/src/lib/libssl/tls13_server.c +++ b/src/lib/libssl/tls13_server.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls13_server.c,v 1.30 2020/04/21 17:06:16 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_server.c,v 1.31 2020/04/22 17:05:07 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2019, 2020 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 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
| @@ -280,11 +280,11 @@ tls13_client_hello_recv(struct tls13_ctx *ctx, CBS *cbs) | |||
| 280 | return 1; | 280 | return 1; |
| 281 | 281 | ||
| 282 | /* | 282 | /* |
| 283 | * If no matching key share was provided, we need to send a | 283 | * If a matching key share was provided, we do not need to |
| 284 | * HelloRetryRequest, if matching security parameters exist. | 284 | * send a HelloRetryRequest. |
| 285 | */ | 285 | */ |
| 286 | if (ctx->hs->key_share == NULL) | 286 | if (ctx->hs->key_share != NULL) |
| 287 | ctx->handshake_stage.hs_type |= WITH_HRR; | 287 | ctx->handshake_stage.hs_type |= WITHOUT_HRR; |
| 288 | 288 | ||
| 289 | /* XXX - check this is the correct point */ | 289 | /* XXX - check this is the correct point */ |
| 290 | tls13_record_layer_allow_ccs(ctx->rl, 1); | 290 | tls13_record_layer_allow_ccs(ctx->rl, 1); |
| @@ -608,7 +608,7 @@ tls13_server_hello_sent(struct tls13_ctx *ctx) | |||
| 608 | } | 608 | } |
| 609 | 609 | ||
| 610 | int | 610 | int |
| 611 | tls13_server_hello_retry_send(struct tls13_ctx *ctx, CBB *cbb) | 611 | tls13_server_hello_retry_request_send(struct tls13_ctx *ctx, CBB *cbb) |
| 612 | { | 612 | { |
| 613 | return 0; | 613 | return 0; |
| 614 | } | 614 | } |
