summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjsing <>2018-11-09 04:53:28 +0000
committerjsing <>2018-11-09 04:53:28 +0000
commitb00ffbc817f1682ca23ea3df7ea4c10f2d095e75 (patch)
tree5e2aa5cda75f20513bfac046c2b67157d493e3c6 /src/lib
parent32afc0b03b3b4e8d5e68f0f727c56ba151ba864f (diff)
downloadopenbsd-b00ffbc817f1682ca23ea3df7ea4c10f2d095e75.tar.gz
openbsd-b00ffbc817f1682ca23ea3df7ea4c10f2d095e75.tar.bz2
openbsd-b00ffbc817f1682ca23ea3df7ea4c10f2d095e75.zip
Correct function naming for tls13_handshake_advance_state_machine().
ok tb@
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/tls13_handshake.c6
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 {
58enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx); 58enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx);
59int tls13_handshake_get_writer(struct tls13_ctx *ctx); 59int tls13_handshake_get_writer(struct tls13_ctx *ctx);
60 60
61int tls13_advance_state_machine(struct tls13_ctx *ctx);
62
63int tls13_connect(struct tls13_ctx *ctx); 61int tls13_connect(struct tls13_ctx *ctx);
64int tls13_accept(struct tls13_ctx *ctx); 62int tls13_accept(struct tls13_ctx *ctx);
65 63
@@ -324,7 +322,7 @@ tls13_accept(struct tls13_ctx *ctx)
324} 322}
325 323
326int 324int
327tls13_advance_state_machine(struct tls13_ctx *ctx) 325tls13_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;