]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Make apps self-contained
authorBob Beck <beck@openssl.org>
Mon, 27 Apr 2026 16:44:29 +0000 (10:44 -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:53 2026
(Merged from https://github.com/openssl/openssl/pull/31001)

apps/include/apps_ui.h
apps/include/ec_common.h
apps/include/names.h
apps/testdsa.h

index ea41c092f4da804aeabe9467c222ed79092450b9..66caca98ae0d2b5d4c9cb52e4a96320acbf81fef 100644 (file)
@@ -10,6 +10,9 @@
 #ifndef OSSL_APPS_UI_H
 #define OSSL_APPS_UI_H
 
+#include <openssl/types.h>
+#include <openssl/ui.h>
+
 #define PW_MIN_LENGTH 4
 typedef struct pw_cb_data {
     const void *password;
index f5711657a299b93a765580e4c047829b02fed080..ac160e507f1ed3f006a931b0ab2f979e7e0da950 100644 (file)
@@ -7,7 +7,12 @@
  * https://www.openssl.org/source/license.html
  */
 
+#if !defined(APPS_INCLUDE_EC_COMMON_H)
+#define APPS_INCLUDE_EC_COMMON_H
+
 #ifndef OPENSSL_NO_EC
+#include <stddef.h>
+
 static const char *point_format_options[] = {
     "uncompressed",
     "compressed",
@@ -21,3 +26,5 @@ static const char *asn1_encoding_options[] = {
     NULL
 };
 #endif
+
+#endif /* !defined(APPS_INCLUDE_EC_COMMON_H) */
index a5d78de67704365f2f11e3f2b2732d61a63e9a48..c2a8c41dd726cbb9287498cad60e9b5ff14e8238 100644 (file)
@@ -10,7 +10,9 @@
 #if !defined(OSSL_APPS_INCLUDE_NAMES_H)
 #define OSSL_APPS_INCLUDE_NAMES_H
 
+#include <openssl/evp.h>
 #include <openssl/safestack.h>
+#include <openssl/types.h>
 
 /* Standard comparing function for names */
 int name_cmp(const char *const *a, const char *const *b);
index 59c4bc4da2d2dbb800f33eb11bfb9dca253e1829..dff64183016e42d0bab7f34b18f3ad474a374c47 100644 (file)
@@ -10,6 +10,9 @@
 #if !defined(OSSL_APPS_TESTDSA_H)
 #define OSSL_APPS_TESTDSA_H
 
+#include <openssl/core_names.h>
+#include <openssl/evp.h>
+#include <openssl/params.h>
 #include <openssl/param_build.h>
 
 /* used by speed.c */