diff options
author | tb <> | 2019-01-20 06:38:18 +0000 |
---|---|---|
committer | tb <> | 2019-01-20 06:38:18 +0000 |
commit | 637e91631f237b9531ec250d29bcbfd3cb41577a (patch) | |
tree | 3334a6cb4194329d3f38bc02c1cb7f44a09277a3 /src | |
parent | 9454404de5c9ea4818509561d6994280e68ceade (diff) | |
download | openbsd-637e91631f237b9531ec250d29bcbfd3cb41577a.tar.gz openbsd-637e91631f237b9531ec250d29bcbfd3cb41577a.tar.bz2 openbsd-637e91631f237b9531ec250d29bcbfd3cb41577a.zip |
Add missing prototype for tls13_handshake_active_action().
ok jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/tls13_handshake.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c index 9110c601c6..3b4aa04f87 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.12 2019/01/20 02:57:16 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_handshake.c,v 1.13 2019/01/20 06:38:18 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2018-2019 Theo Buehler <tb@openbsd.org> |
4 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2019 Joel Sing <jsing@openbsd.org> |
@@ -57,6 +57,8 @@ enum tls13_message_type tls13_handshake_active_state(struct tls13_ctx *ctx); | |||
57 | int tls13_connect(struct tls13_ctx *ctx); | 57 | int tls13_connect(struct tls13_ctx *ctx); |
58 | int tls13_accept(struct tls13_ctx *ctx); | 58 | int tls13_accept(struct tls13_ctx *ctx); |
59 | 59 | ||
60 | struct tls13_handshake_action * | ||
61 | tls13_handshake_active_action(struct tls13_ctx *ctx); | ||
60 | int tls13_handshake_advance_state_machine(struct tls13_ctx *ctx); | 62 | int tls13_handshake_advance_state_machine(struct tls13_ctx *ctx); |
61 | 63 | ||
62 | int tls13_handshake_send_action(struct tls13_ctx *ctx, | 64 | int tls13_handshake_send_action(struct tls13_ctx *ctx, |
@@ -158,7 +160,7 @@ struct tls13_handshake_action state_machine[] = { | |||
158 | }, | 160 | }, |
159 | [APPLICATION_DATA] = { | 161 | [APPLICATION_DATA] = { |
160 | .record_type = TLS13_APPLICATION_DATA, | 162 | .record_type = TLS13_APPLICATION_DATA, |
161 | .handshake_complete = 1, | 163 | .handshake_complete = 0, |
162 | }, | 164 | }, |
163 | }; | 165 | }; |
164 | 166 | ||