diff options
author | jsing <> | 2018-11-09 04:53:28 +0000 |
---|---|---|
committer | jsing <> | 2018-11-09 04:53:28 +0000 |
commit | b00ffbc817f1682ca23ea3df7ea4c10f2d095e75 (patch) | |
tree | 5e2aa5cda75f20513bfac046c2b67157d493e3c6 /src/lib | |
parent | 32afc0b03b3b4e8d5e68f0f727c56ba151ba864f (diff) | |
download | openbsd-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.c | 6 |
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 { | |||
58 | enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx); | 58 | enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx); |
59 | int tls13_handshake_get_writer(struct tls13_ctx *ctx); | 59 | int tls13_handshake_get_writer(struct tls13_ctx *ctx); |
60 | 60 | ||
61 | int tls13_advance_state_machine(struct tls13_ctx *ctx); | ||
62 | |||
63 | int tls13_connect(struct tls13_ctx *ctx); | 61 | int tls13_connect(struct tls13_ctx *ctx); |
64 | int tls13_accept(struct tls13_ctx *ctx); | 62 | int tls13_accept(struct tls13_ctx *ctx); |
65 | 63 | ||
@@ -324,7 +322,7 @@ tls13_accept(struct tls13_ctx *ctx) | |||
324 | } | 322 | } |
325 | 323 | ||
326 | int | 324 | int |
327 | tls13_advance_state_machine(struct tls13_ctx *ctx) | 325 | tls13_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; |