tools: store "default" OpenSSL version in `openssl-matrix.nix` · nodejs/node@f0140d7 · GitHub
Skip to content

Commit f0140d7

Browse files
committed
tools: store "default" OpenSSL version in openssl-matrix.nix
To help with automating keeping in sync with the bundled version. Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #64962 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent 4c8d8af commit f0140d7

4 files changed

Lines changed: 29 additions & 5 deletions

File tree

tools/dep_updaters/update-nixpkgs-pin.sh

Lines changed: 23 additions & 2 deletions

tools/nix/openssl-matrix.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
}:
66

77
{
8+
# "default" OpenSSL release line, should be kept in sync with the bundled version:
9+
openssl = pkgs.openssl_3_5;
10+
11+
# Other OpenSSL variants we want to test for:
812
inherit (pkgs)
913
boringssl
1014
openssl_1_1
1115
openssl_3
12-
openssl_3_5
1316
openssl_3_6
1417
openssl_4_0
1518
;

tools/nix/pkcs11.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# pkcs11-provider is dlopen'd into the libcrypto Node.js itself links, so it
1111
# has to be built against that very OpenSSL. SoftHSM links OpenSSL too;
1212
# building it against the same one keeps a single libcrypto in the process.
13-
openssl ? (import ./sharedLibDeps.nix { inherit pkgs; }).openssl,
13+
openssl ? (import ./openssl-matrix.nix { inherit pkgs; }).openssl,
1414

1515
pin ? "1234",
1616
}:

tools/nix/sharedLibDeps.nix

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)