-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport PR #1334 on branch 0.4.x (Do not clean up resources after ex…
…ecution) (#1335) * Backport PR #1334: Do not clean up resources after execution * Only clean kernel client * Fix CI * OpenSSL issue workaround --------- Co-authored-by: martinRenou <[email protected]>
- Loading branch information
1 parent
9e76783
commit aa3aecb
Showing
6 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const crypto = require('crypto'); | ||
|
||
// Workaround for loaders using "md4" by default, which is not supported in FIPS-compliant OpenSSL | ||
const cryptoOrigCreateHash = crypto.createHash; | ||
crypto.createHash = algorithm => | ||
cryptoOrigCreateHash(algorithm === 'md4' ? 'sha256' : algorithm); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters