diff options
author | tb <> | 2019-02-25 19:44:04 +0000 |
---|---|---|
committer | tb <> | 2019-02-25 19:44:04 +0000 |
commit | fe373f28c7092386d10c01fab09c2761dac7d20a (patch) | |
tree | 03be3c409cbcef895cefde680f2b60257eabc467 /src | |
parent | 71bd73f60686558ba44dd16aefecafa4ad617648 (diff) | |
download | openbsd-fe373f28c7092386d10c01fab09c2761dac7d20a.tar.gz openbsd-fe373f28c7092386d10c01fab09c2761dac7d20a.tar.bz2 openbsd-fe373f28c7092386d10c01fab09c2761dac7d20a.zip |
Fix gcc3 compilation error by using a forward declaration instead of a
repeated typedef. Found the hard way by aoyama who also tested the fix.
ok jsing
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/tls13_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h index aa28ee7e87..c3b698e987 100644 --- a/src/lib/libssl/tls13_internal.h +++ b/src/lib/libssl/tls13_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_internal.h,v 1.23 2019/02/25 19:40:05 tb Exp $ */ | 1 | /* $OpenBSD: tls13_internal.h,v 1.24 2019/02/25 19:44:04 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> |
4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
@@ -149,11 +149,11 @@ struct tls13_handshake_stage { | |||
149 | uint8_t message_number; | 149 | uint8_t message_number; |
150 | }; | 150 | }; |
151 | 151 | ||
152 | typedef struct ssl_handshake_tls13_st SSL_HANDSHAKE_TLS13; | 152 | struct ssl_handshake_tls13_st; |
153 | 153 | ||
154 | struct tls13_ctx { | 154 | struct tls13_ctx { |
155 | SSL *ssl; | 155 | SSL *ssl; |
156 | SSL_HANDSHAKE_TLS13 *hs; | 156 | struct ssl_handshake_tls13_st *hs; |
157 | uint8_t mode; | 157 | uint8_t mode; |
158 | struct tls13_handshake_stage handshake_stage; | 158 | struct tls13_handshake_stage handshake_stage; |
159 | 159 | ||