Avoid implicit function declaration when building openssl

Resolves: RHEL-1780
This commit is contained in:
Dmitry Belyavskiy 2023-10-17 13:09:34 +02:00
parent ec6d7cf272
commit 92436854f9
2 changed files with 4 additions and 1 deletions

View File

@ -7,10 +7,11 @@
diff -up openssl-3.0.1/crypto/provider_conf.c.fipsact openssl-3.0.1/crypto/provider_conf.c diff -up openssl-3.0.1/crypto/provider_conf.c.fipsact openssl-3.0.1/crypto/provider_conf.c
--- openssl-3.0.1/crypto/provider_conf.c.fipsact 2022-05-12 12:44:31.199034948 +0200 --- openssl-3.0.1/crypto/provider_conf.c.fipsact 2022-05-12 12:44:31.199034948 +0200
+++ openssl-3.0.1/crypto/provider_conf.c 2022-05-12 12:49:17.468318373 +0200 +++ openssl-3.0.1/crypto/provider_conf.c 2022-05-12 12:49:17.468318373 +0200
@@ -36,6 +36,7 @@ static int prov_already_activated(const @@ -36,6 +36,8 @@ static int prov_already_activated(const
#include <string.h> #include <string.h>
#include <openssl/trace.h> #include <openssl/trace.h>
#include <openssl/err.h> #include <openssl/err.h>
+#include <openssl/evp.h>
+#include <unistd.h> +#include <unistd.h>
#include <openssl/conf.h> #include <openssl/conf.h>
#include <openssl/safestack.h> #include <openssl/safestack.h>

View File

@ -529,6 +529,8 @@ ln -s /etc/crypto-policies/back-ends/openssl_fips.config $RPM_BUILD_ROOT%{_sysco
Resolves: RHEL-5295 Resolves: RHEL-5295
- Provide empty evp_properties section in main OpenSSL configuration file - Provide empty evp_properties section in main OpenSSL configuration file
Resolves: RHEL-11439 Resolves: RHEL-11439
- Avoid implicit function declaration when building openssl
Resolves: RHEL-1780
* Wed Jul 12 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.0.7-24 * Wed Jul 12 2023 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.0.7-24
- Make FIPS module configuration more crypto-policies friendly - Make FIPS module configuration more crypto-policies friendly