diff options
| author | tb <> | 2019-01-20 06:38:18 +0000 |
|---|---|---|
| committer | tb <> | 2019-01-20 06:38:18 +0000 |
| commit | 3c3e23e44cd14789812df70a7a2bc5f54e766698 (patch) | |
| tree | 3334a6cb4194329d3f38bc02c1cb7f44a09277a3 /src/lib/libssl/tls13_handshake.c | |
| parent | f93645fdb8c9e391f6fc6050e68517b1bf8e5898 (diff) | |
| download | openbsd-3c3e23e44cd14789812df70a7a2bc5f54e766698.tar.gz openbsd-3c3e23e44cd14789812df70a7a2bc5f54e766698.tar.bz2 openbsd-3c3e23e44cd14789812df70a7a2bc5f54e766698.zip | |
Add missing prototype for tls13_handshake_active_action().
ok jsing
Diffstat (limited to '')
| -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 | ||
