diff options
| author | tb <> | 2020-06-02 13:57:09 +0000 |
|---|---|---|
| committer | tb <> | 2020-06-02 13:57:09 +0000 |
| commit | e97e7b9a596e73ceee6e6d7c13056424eabeafdd (patch) | |
| tree | e5cdb34a65479fce6579faa3304095e36bbcc487 /src/lib/libssl | |
| parent | 6dd62332e93a2e76a8a440c4a0cc15fdafa0f7a6 (diff) | |
| download | openbsd-e97e7b9a596e73ceee6e6d7c13056424eabeafdd.tar.gz openbsd-e97e7b9a596e73ceee6e6d7c13056424eabeafdd.tar.bz2 openbsd-e97e7b9a596e73ceee6e6d7c13056424eabeafdd.zip | |
Remove const modifier in return type of tls13_handshake_active_state()
which make no sense as pointed out by gcc on sparc64.
ok jsing
Diffstat (limited to 'src/lib/libssl')
| -rw-r--r-- | src/lib/libssl/tls13_handshake.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/tls13_handshake.c b/src/lib/libssl/tls13_handshake.c index 11fc1db9f9..80ad7c0264 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.62 2020/05/10 17:13:29 tb Exp $ */ | 1 | /* $OpenBSD: tls13_handshake.c,v 1.63 2020/06/02 13:57:09 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> |
| @@ -36,7 +36,7 @@ struct tls13_handshake_action { | |||
| 36 | int (*recv)(struct tls13_ctx *ctx, CBS *cbs); | 36 | int (*recv)(struct tls13_ctx *ctx, CBS *cbs); |
| 37 | }; | 37 | }; |
| 38 | 38 | ||
| 39 | static const enum tls13_message_type | 39 | static enum tls13_message_type |
| 40 | tls13_handshake_active_state(struct tls13_ctx *ctx); | 40 | tls13_handshake_active_state(struct tls13_ctx *ctx); |
| 41 | 41 | ||
| 42 | static const struct tls13_handshake_action * | 42 | static const struct tls13_handshake_action * |
| @@ -295,7 +295,7 @@ tls13_handshake_message_name(uint8_t msg_type) | |||
| 295 | } | 295 | } |
| 296 | #endif | 296 | #endif |
| 297 | 297 | ||
| 298 | static const enum tls13_message_type | 298 | static enum tls13_message_type |
| 299 | tls13_handshake_active_state(struct tls13_ctx *ctx) | 299 | tls13_handshake_active_state(struct tls13_ctx *ctx) |
| 300 | { | 300 | { |
| 301 | struct tls13_handshake_stage hs = ctx->handshake_stage; | 301 | struct tls13_handshake_stage hs = ctx->handshake_stage; |
