diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/tls13_handshake.c | 12 | 
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c index d194688f71..31bd796b93 100644 --- a/src/lib/libssl/tls13_handshake.c +++ b/src/lib/libssl/tls13_handshake.c  | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls13_handshake.c,v 1.48 2020/01/25 15:06:17 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_handshake.c,v 1.49 2020/01/29 13:44:42 tb Exp $ */ | 
| 2 | /* | 2 | /* | 
| 3 | * Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org> | 
| 4 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> | 
| @@ -38,8 +38,6 @@ struct tls13_handshake_action { | |||
| 38 | 38 | ||
| 39 | enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx); | 39 | enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx); | 
| 40 | 40 | ||
| 41 | int tls13_accept(struct tls13_ctx *ctx); | ||
| 42 | |||
| 43 | struct tls13_handshake_action * | 41 | struct tls13_handshake_action * | 
| 44 | tls13_handshake_active_action(struct tls13_ctx *ctx); | 42 | tls13_handshake_active_action(struct tls13_ctx *ctx); | 
| 45 | int tls13_handshake_advance_state_machine(struct tls13_ctx *ctx); | 43 | int tls13_handshake_advance_state_machine(struct tls13_ctx *ctx); | 
| @@ -319,14 +317,6 @@ tls13_handshake_perform(struct tls13_ctx *ctx) | |||
| 319 | } | 317 | } | 
| 320 | 318 | ||
| 321 | int | 319 | int | 
| 322 | tls13_accept(struct tls13_ctx *ctx) | ||
| 323 | { | ||
| 324 | ctx->mode = TLS13_HS_SERVER; | ||
| 325 | |||
| 326 | return tls13_handshake_perform(ctx); | ||
| 327 | } | ||
| 328 | |||
| 329 | int | ||
| 330 | tls13_handshake_send_action(struct tls13_ctx *ctx, | 320 | tls13_handshake_send_action(struct tls13_ctx *ctx, | 
| 331 | struct tls13_handshake_action *action) | 321 | struct tls13_handshake_action *action) | 
| 332 | { | 322 | { | 
