summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-01-29 13:44:42 +0000
committertb <tb@openbsd.org>2020-01-29 13:44:42 +0000
commit2e9d76d964e36418f61b63d0cdfe78f5ce55aa21 (patch)
treefa0969238f27e32d9bbd9d2ce1f888297c6d1f31 /lib/libssl/tls13_handshake.c
parentRemove extra Pp (from jmc) and add a missing word. (diff)
downloadwireguard-openbsd-2e9d76d964e36418f61b63d0cdfe78f5ce55aa21.tar.xz
wireguard-openbsd-2e9d76d964e36418f61b63d0cdfe78f5ce55aa21.zip
Remove unused stub implementation of tls13_accept(). The correct
and used version is in tls13_server.c. ok inoguchi jsing
Diffstat (limited to 'lib/libssl/tls13_handshake.c')
-rw-r--r--lib/libssl/tls13_handshake.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libssl/tls13_handshake.c b/lib/libssl/tls13_handshake.c
index d194688f710..31bd796b93a 100644
--- a/lib/libssl/tls13_handshake.c
+++ b/lib/libssl/tls13_handshake.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_handshake.c,v 1.48 2020/01/25 15:06:17 jsing Exp $ */
+/* $OpenBSD: tls13_handshake.c,v 1.49 2020/01/29 13:44:42 tb Exp $ */
/*
* Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Joel Sing <jsing@openbsd.org>
@@ -38,8 +38,6 @@ struct tls13_handshake_action {
enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx);
-int tls13_accept(struct tls13_ctx *ctx);
-
struct tls13_handshake_action *
tls13_handshake_active_action(struct tls13_ctx *ctx);
int tls13_handshake_advance_state_machine(struct tls13_ctx *ctx);
@@ -319,14 +317,6 @@ tls13_handshake_perform(struct tls13_ctx *ctx)
}
int
-tls13_accept(struct tls13_ctx *ctx)
-{
- ctx->mode = TLS13_HS_SERVER;
-
- return tls13_handshake_perform(ctx);
-}
-
-int
tls13_handshake_send_action(struct tls13_ctx *ctx,
struct tls13_handshake_action *action)
{