From 04326f3092e6557ef81b3ac878a8be1328d20f48 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Fri, 15 Oct 2021 05:44:25 +0200 Subject: [PATCH] deps: add missing legacyprov.c source This commit adds a missing OpenSSL 3.0 source file, legacyprov.c. Refs: https://github.com/nodejs/node/issues/40455 --- deps/openssl/config/generate_gypi.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deps/openssl/config/generate_gypi.pl b/deps/openssl/config/generate_gypi.pl index 99352b4027b4fc..a4c121cf97e60d 100755 --- a/deps/openssl/config/generate_gypi.pl +++ b/deps/openssl/config/generate_gypi.pl @@ -193,6 +193,13 @@ } } +foreach my $src (@{$unified_info{sources}->{'providers/legacy-dso-legacyprov.o'}}) { + #print("legacy-dso-legacyprov.o src: $src \n"); + if ($src =~ m/\.c$/) { + push(@libcrypto_srcs, $src); + } +} + my @libfips_srcs = (); foreach my $obj (@{$unified_info{sources}->{'providers/libfips.a'}}) { my $src = ${$unified_info{sources}->{$obj}}[0];