GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: only run prime test with supported OpenSSL · nodejs/node@8483de4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-crypto-prime.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-crypto-prime.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-crypto-prime.js
+8-6Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,14 @@ generatePrime(
211211
code: 'ERR_OUT_OF_RANGE'
212212
});
213213

214-
// This is possible and allowed (but makes little sense).
215-
assert.strictEqual(generatePrimeSync(4, {
216-
add: 15n,
217-
rem: 13n,
218-
bigint: true
219-
}), 13n);
214+
if (process.versions.openssl >= '1.1.1f') {
215+
// This is possible and allowed (but makes little sense).
216+
assert.strictEqual(generatePrimeSync(4, {
217+
add: 15n,
218+
rem: 13n,
219+
bigint: true
220+
}), 13n);
221+
}
220222
}
221223

222224
[1, 'hello', {}, []].forEach((i) => {

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.