summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/tls13_handshake.c12
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
39enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx); 39enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx);
40 40
41int tls13_accept(struct tls13_ctx *ctx);
42
43struct tls13_handshake_action * 41struct tls13_handshake_action *
44 tls13_handshake_active_action(struct tls13_ctx *ctx); 42 tls13_handshake_active_action(struct tls13_ctx *ctx);
45int tls13_handshake_advance_state_machine(struct tls13_ctx *ctx); 43int tls13_handshake_advance_state_machine(struct tls13_ctx *ctx);
@@ -319,14 +317,6 @@ tls13_handshake_perform(struct tls13_ctx *ctx)
319} 317}
320 318
321int 319int
322tls13_accept(struct tls13_ctx *ctx)
323{
324 ctx->mode = TLS13_HS_SERVER;
325
326 return tls13_handshake_perform(ctx);
327}
328
329int
330tls13_handshake_send_action(struct tls13_ctx *ctx, 320tls13_handshake_send_action(struct tls13_ctx *ctx,
331 struct tls13_handshake_action *action) 321 struct tls13_handshake_action *action)
332{ 322{