Add a missing include in openssl-1.1.1-pkcs1-implicit-rejection.patch

This prevents build failures when built as a submodule of
the edk2 package which uses a different configuration
than RHEL builds.

Resolves: RHEL-142313
This commit is contained in:
Pavol Žáčik 2026-01-21 10:59:22 +01:00
parent 0c814b8079
commit 63ea9a612a
No known key found for this signature in database
GPG Key ID: 4EE16C6E333F70A8

View File

@ -1109,6 +1109,14 @@
--- openssl-1.1.1k/crypto/pkcs7/pk7_doit.c.pkcs1-implicit-rejection 2021-03-25 14:28:38.000000000 +0100
+++ openssl-1.1.1k/crypto/pkcs7/pk7_doit.c 2023-11-17 17:29:02.922553639 +0100
@@ -12,6 +12,7 @@
#include <openssl/rand.h>
#include <openssl/objects.h>
#include <openssl/x509.h>
+#include <openssl/rsa.h>
#include <openssl/x509v3.h>
#include <openssl/err.h>
@@ -159,6 +159,13 @@ static int pkcs7_decrypt_rinfo(unsigned
goto err;
}