diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/tls13_handshake.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c index e383d969f3..ad5849379f 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.1 2018/11/08 23:54:59 tb Exp $ */ | 1 | /* $OpenBSD: tls13_handshake.c,v 1.2 2018/11/09 04:53:28 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
| 4 | * | 4 | * |
| @@ -58,8 +58,6 @@ struct tls13_handshake_action { | |||
| 58 | enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx); | 58 | enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx); |
| 59 | int tls13_handshake_get_writer(struct tls13_ctx *ctx); | 59 | int tls13_handshake_get_writer(struct tls13_ctx *ctx); |
| 60 | 60 | ||
| 61 | int tls13_advance_state_machine(struct tls13_ctx *ctx); | ||
| 62 | |||
| 63 | int tls13_connect(struct tls13_ctx *ctx); | 61 | int tls13_connect(struct tls13_ctx *ctx); |
| 64 | int tls13_accept(struct tls13_ctx *ctx); | 62 | int tls13_accept(struct tls13_ctx *ctx); |
| 65 | 63 | ||
| @@ -324,7 +322,7 @@ tls13_accept(struct tls13_ctx *ctx) | |||
| 324 | } | 322 | } |
| 325 | 323 | ||
| 326 | int | 324 | int |
| 327 | tls13_advance_state_machine(struct tls13_ctx *ctx) | 325 | tls13_handshake_advance_state_machine(struct tls13_ctx *ctx) |
| 328 | { | 326 | { |
| 329 | if (tls13_handshake_get_writer(ctx) == TLS13_HS_BOTH_WRITE) | 327 | if (tls13_handshake_get_writer(ctx) == TLS13_HS_BOTH_WRITE) |
| 330 | return 0; | 328 | return 0; |
