diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2020-01-29 13:44:43 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2020-01-29 13:44:43 +0000 |
commit | 6896dbaf85715388c548004e29fdb97fc8cf2303 (patch) | |
tree | d426a69fcc2db6d1f066f88b51140ee311b39d69 /lib/libssl | |
parent | d2ecf1ee21609099bdbbcf75f1fb0a50ff3a0a5f (diff) |
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')
-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) { |