|
| 1 | +From 7b3eda56d7891aceef91867de64f24b20e3db212 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Richard Levitte < [email protected]> |
| 3 | +Date: Thu, 1 Feb 2024 10:57:51 +0100 |
| 4 | +Subject: [PATCH] Fix a few incorrect paths in some build.info files |
| 5 | + |
| 6 | +The following files referred to ../liblegacy.a when they should have |
| 7 | +referred to ../../liblegacy.a. This cause the creation of a mysterious |
| 8 | +directory 'crypto/providers', and because of an increased strictness |
| 9 | +with regards to where directories are created, configuration failure |
| 10 | +on some platforms. |
| 11 | + |
| 12 | +Fixes #23436 |
| 13 | + |
| 14 | +Reviewed-by: Matt Caswell < [email protected]> |
| 15 | +Reviewed-by: Tomas Mraz < [email protected]> |
| 16 | +Reviewed-by: Tom Cosgrove < [email protected]> |
| 17 | +(Merged from https://github.com/openssl/openssl/pull/23452) |
| 18 | + |
| 19 | +(cherry picked from commit 667b45454a47959ce2934b74c899662e686993de) |
| 20 | +--- |
| 21 | + crypto/aes/build.info | 2 +- |
| 22 | + crypto/ec/build.info | 2 +- |
| 23 | + crypto/sha/build.info | 2 +- |
| 24 | + 3 files changed, 3 insertions(+), 3 deletions(-) |
| 25 | + |
| 26 | +diff --git a/crypto/aes/build.info b/crypto/aes/build.info |
| 27 | +index b250903fa6e26..271015e35e1bb 100644 |
| 28 | +--- a/crypto/aes/build.info |
| 29 | ++++ b/crypto/aes/build.info |
| 30 | +@@ -76,7 +76,7 @@ DEFINE[../../providers/libdefault.a]=$AESDEF |
| 31 | + # already gets everything that the static libcrypto.a has, and doesn't need it |
| 32 | + # added again. |
| 33 | + IF[{- !$disabled{module} && !$disabled{shared} -}] |
| 34 | +- DEFINE[../providers/liblegacy.a]=$AESDEF |
| 35 | ++ DEFINE[../../providers/liblegacy.a]=$AESDEF |
| 36 | + ENDIF |
| 37 | + |
| 38 | + GENERATE[aes-ia64.s]=asm/aes-ia64.S |
| 39 | +diff --git a/crypto/ec/build.info b/crypto/ec/build.info |
| 40 | +index a511e887a9ba1..6dd98e9f4f172 100644 |
| 41 | +--- a/crypto/ec/build.info |
| 42 | ++++ b/crypto/ec/build.info |
| 43 | +@@ -77,7 +77,7 @@ DEFINE[../../providers/libdefault.a]=$ECDEF |
| 44 | + # Otherwise, it already gets everything that the static libcrypto.a |
| 45 | + # has, and doesn't need it added again. |
| 46 | + IF[{- !$disabled{module} && !$disabled{shared} -}] |
| 47 | +- DEFINE[../providers/liblegacy.a]=$ECDEF |
| 48 | ++ DEFINE[../../providers/liblegacy.a]=$ECDEF |
| 49 | + ENDIF |
| 50 | + |
| 51 | + GENERATE[ecp_nistz256-x86.S]=asm/ecp_nistz256-x86.pl |
| 52 | +diff --git a/crypto/sha/build.info b/crypto/sha/build.info |
| 53 | +index d61f7de9b6bde..186ec13cc82a1 100644 |
| 54 | +--- a/crypto/sha/build.info |
| 55 | ++++ b/crypto/sha/build.info |
| 56 | +@@ -88,7 +88,7 @@ DEFINE[../../providers/libdefault.a]=$SHA1DEF $KECCAK1600DEF |
| 57 | + # linked with libcrypto. Otherwise, it already gets everything that |
| 58 | + # the static libcrypto.a has, and doesn't need it added again. |
| 59 | + IF[{- !$disabled{module} && !$disabled{shared} -}] |
| 60 | +- DEFINE[../providers/liblegacy.a]=$SHA1DEF $KECCAK1600DEF |
| 61 | ++ DEFINE[../../providers/liblegacy.a]=$SHA1DEF $KECCAK1600DEF |
| 62 | + ENDIF |
| 63 | + |
| 64 | + GENERATE[sha1-586.S]=asm/sha1-586.pl |
0 commit comments