]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Make ssl includes self-contained
authorBob Beck <beck@openssl.org>
Tue, 14 Apr 2026 18:07:20 +0000 (12:07 -0600)
committerNorbert Pocs <norbertp@openssl.org>
Wed, 6 May 2026 11:35:24 +0000 (13:35 +0200)
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Wed May  6 11:35:50 2026
(Merged from https://github.com/openssl/openssl/pull/31001)

ssl/ech/ech_local.h
ssl/record/record.h
ssl/ssl_cert_table.h
ssl/statem/statem_local.h

index 143742354a294dcb128602ed2935906c0151e0fa..dff7a9160b8e334545d81c7609bb1b40659b5379 100644 (file)
 #include <openssl/ech.h>
 #include <openssl/hpke.h>
 
+#include <internal/packet.h>
+#include <internal/ssl.h>
+#include <internal/statem.h>
+
 /*
  * Define this to get loads more lines of tracing which is
  * very useful for interop.
index 1f7ade3988e956a64e95de8dad37c0fa243dc2b8..192052367b005e0db885f7aa256189d9d87a12e8 100644 (file)
@@ -11,7 +11,9 @@
 #define OSSL_SSL_RECORD_RECORD_H
 
 #include <openssl/core_dispatch.h>
+
 #include "internal/recordmethod.h"
+#include "internal/statem.h"
 
 /*****************************************************************************
  *                                                                           *
index 85517a749bd04e3997c131e3a77874cc9cb93897..940ef7a5c9436bdaa1e1614f26ecb48b046c47d5 100644 (file)
 #if !defined(OSSL_SSL_SSL_CERT_TABLE_H)
 #define OSSL_SSL_SSL_CERT_TABLE_H
 
+#include <openssl/evp.h>
+
+#include "ssl_local.h"
+
 static const SSL_CERT_LOOKUP ssl_cert_info[] = {
     { EVP_PKEY_RSA, SSL_aRSA }, /* SSL_PKEY_RSA */
     { EVP_PKEY_RSA_PSS, SSL_aRSA }, /* SSL_PKEY_RSA_PSS_SIGN */
index c924269a03765de5cccea712a622cf29a2315bde..68ac803fa9616a8cdb55633a3963813f6b8537de 100644 (file)
  *                                                                           *
  *****************************************************************************/
 
+#if !defined(OSSL_SSL_STATEM_STATEM_LOCAL_H)
+#define OSSL_SSL_STATEM_STATEM_LOCAL_H
+
+#include <internal/packet.h>
+#include <internal/statem.h>
+
+#include "../ssl_local.h"
+
 /* Max message length definitions */
 
 /* The spec allows for a longer length than this, but we limit it */
-#if !defined(OSSL_SSL_STATEM_STATEM_LOCAL_H)
-#define OSSL_SSL_STATEM_STATEM_LOCAL_H
 
 #define HELLO_VERIFY_REQUEST_MAX_LENGTH 258
 #define END_OF_EARLY_DATA_MAX_LENGTH 0