Even more generated files in openssl 3.0 ...

Signed-off-by: Gerd Hoffmann <kra...@redhat.com>
---
 CryptoPkg/Library/OpensslLib/process_files.pl | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/CryptoPkg/Library/OpensslLib/process_files.pl 
b/CryptoPkg/Library/OpensslLib/process_files.pl
index 75e6473e08b3..d1be6f9a19d5 100755
--- a/CryptoPkg/Library/OpensslLib/process_files.pl
+++ b/CryptoPkg/Library/OpensslLib/process_files.pl
@@ -428,6 +428,15 @@ for my $file (@hdrs) {
        or die "Cannot copy $file !";
 }
 
+for my $file (map { s/\.in//; $_ } glob($OPENSSL_PATH . 
"/providers/common/der/*.c.in")) {
+    next unless -f $file;
+    my $dest = $file;
+    $dest =~ s|.*/||;
+    print "\n--> Duplicating $file into $dest ... ";
+    system("perl -pe 's/\\n/\\r\\n/' < $file > $dest") == 0
+       or die "Cannot copy $file !";
+}
+
 print "\nProcessing Files Done!\n";
 
 # cleanup
-- 
2.33.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84323): https://edk2.groups.io/g/devel/message/84323
Mute This Topic: https://groups.io/mt/87479986/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to