diff options
-rw-r--r-- | lib/libssl/tls13_handshake.c | 12 |
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) { |