From fe373f28c7092386d10c01fab09c2761dac7d20a Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 25 Feb 2019 19:44:04 +0000 Subject: 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 --- src/lib/libssl/tls13_internal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 @@ -/* $OpenBSD: tls13_internal.h,v 1.23 2019/02/25 19:40:05 tb Exp $ */ +/* $OpenBSD: tls13_internal.h,v 1.24 2019/02/25 19:44:04 tb Exp $ */ /* * Copyright (c) 2018 Bob Beck * Copyright (c) 2018 Theo Buehler @@ -149,11 +149,11 @@ struct tls13_handshake_stage { uint8_t message_number; }; -typedef struct ssl_handshake_tls13_st SSL_HANDSHAKE_TLS13; +struct ssl_handshake_tls13_st; struct tls13_ctx { SSL *ssl; - SSL_HANDSHAKE_TLS13 *hs; + struct ssl_handshake_tls13_st *hs; uint8_t mode; struct tls13_handshake_stage handshake_stage; -- cgit v1.2.3-55-g6feb