]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Don't declare SSL_CONNECTION twice
authorMatt Caswell <matt@openssl.org>
Thu, 26 Jan 2023 15:19:40 +0000 (15:19 +0000)
committerHugo Landau <hlandau@openssl.org>
Wed, 22 Feb 2023 05:34:05 +0000 (05:34 +0000)
It causes problems with some compilation options

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20030)

ssl/record/record.h
ssl/ssl_local.h

index cd2b78698db9dfced1eb1e3f4f30c967f38ef679..8113d78da05692a52b18dfb382e61e9622b22314 100644 (file)
@@ -7,8 +7,6 @@
  * https://www.openssl.org/source/license.html
  */
 
-typedef struct ssl_connection_st SSL_CONNECTION;
-
 #include <openssl/core_dispatch.h>
 #include "internal/recordmethod.h"
 
index f28f4419efa3fd56339b461ecda9a5bbedcfa4e2..e82564daf61e9ae2fbc9ea15dfcc5104fc31213e 100644 (file)
@@ -27,7 +27,6 @@
 # include <openssl/async.h>
 # include <openssl/symhacks.h>
 # include <openssl/ct.h>
-# include "record/record.h"
 # include "internal/recordmethod.h"
 # include "internal/statem.h"
 # include "internal/packet.h"
@@ -37,6 +36,7 @@
 # include "internal/bio.h"
 # include "internal/ktls.h"
 # include "internal/time.h"
+# include "record/record.h"
 
 # ifdef OPENSSL_BUILD_SHLIBSSL
 #  undef OPENSSL_EXTERN