summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2020-06-02 13:57:09 +0000
committertb <>2020-06-02 13:57:09 +0000
commite97e7b9a596e73ceee6e6d7c13056424eabeafdd (patch)
treee5cdb34a65479fce6579faa3304095e36bbcc487 /src
parent6dd62332e93a2e76a8a440c4a0cc15fdafa0f7a6 (diff)
downloadopenbsd-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')
-rw-r--r--src/lib/libssl/tls13_handshake.c6
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
39static const enum tls13_message_type 39static enum tls13_message_type
40 tls13_handshake_active_state(struct tls13_ctx *ctx); 40 tls13_handshake_active_state(struct tls13_ctx *ctx);
41 41
42static const struct tls13_handshake_action * 42static 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
298static const enum tls13_message_type 298static enum tls13_message_type
299tls13_handshake_active_state(struct tls13_ctx *ctx) 299tls13_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;