diff options
| author | tb <> | 2019-02-25 19:44:04 +0000 |
|---|---|---|
| committer | tb <> | 2019-02-25 19:44:04 +0000 |
| commit | 1f47278563d3f6dc3ec73137e3dc06e9b0fc3fb0 (patch) | |
| tree | 03be3c409cbcef895cefde680f2b60257eabc467 | |
| parent | 005ef6c08c766a6de14eec11a3c73593c724505f (diff) | |
| download | openbsd-1f47278563d3f6dc3ec73137e3dc06e9b0fc3fb0.tar.gz openbsd-1f47278563d3f6dc3ec73137e3dc06e9b0fc3fb0.tar.bz2 openbsd-1f47278563d3f6dc3ec73137e3dc06e9b0fc3fb0.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 '')
| -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 | ||
