Commit cc3cdf7
committed
test: check against run-time OpenSSL version
Update `common.hasOpenSSL3*` to check against the run-time version of
OpenSSL instead of the version of OpenSSL that Node.js was compiled
against.
Add a generalized `common.hasOpenSSL()` so we do not need to keep adding
new checks for each new major/minor of OpenSSL.
PR-URL: #53456
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>1 parent fc43c68 commit cc3cdf7Copy full SHA for cc3cdf7
2 files changed
+32-12Lines changed: 32 additions & 12 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- test
- common
- parallel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+30-10Lines changed: 30 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
55 | 55 | |
56 | 56 | |
57 | 57 | |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
63 | 65 | |
64 | | - |
65 | | - |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
66 | 76 | |
67 | 77 | |
68 | 78 | |
| ||
903 | 913 | |
904 | 914 | |
905 | 915 | |
906 | | - |
907 | | - |
908 | | - |
| 916 | + |
909 | 917 | |
910 | 918 | |
911 | 919 | |
| ||
966 | 974 | |
967 | 975 | |
968 | 976 | |
| 977 | + |
| 978 | + |
| 979 | + |
| 980 | + |
| 981 | + |
| 982 | + |
| 983 | + |
| 984 | + |
| 985 | + |
| 986 | + |
| 987 | + |
| 988 | + |
969 | 989 | |
970 | 990 | |
971 | 991 | |
|
Collapse file
test/parallel/test-crypto-dh.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-dh.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
86 | 86 | |
87 | 87 | |
88 | 88 | |
89 | | - |
90 | | - |
| 89 | + |
| 90 | + |
91 | 91 | |
92 | 92 | |
93 | 93 | |
|
0 commit comments