Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.4k
crypto: remove CipherBase::Init#57787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crypto: remove CipherBase::Init #57787
Uh oh!
There was an error while loading. Please reload this page.
Conversation
As far as I can tell, the `iv` parameter can never be `undefined` (but it can be `null`!), so this code appears to have been dead since Node.js 22. This change removes dead code and adds a tiny test case for passing `undefined` as the IV. Refs: nodejs#50973
nodejs-github-bot commented Apr 7, 2025
Review requested:
|
codecovbot commented Apr 7, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #57787 +/- ## ========================================== - Coverage 90.24% 90.24% -0.01% ========================================== Files 630 630 Lines 185198 185249 +51 Branches 36295 36329 +34 ========================================== + Hits 167140 167173 +33 + Misses 10987 10974 -13 - Partials 7071 7102 +31
🚀 New features to boost your workflow:
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
nodejs-github-bot commented Apr 9, 2025
9bbbe60 into nodejs:mainUh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot commented Apr 9, 2025
Landed in 9bbbe60 |
As far as I can tell, the `iv` parameter can never be `undefined` (but it can be `null`!), so this code appears to have been dead since Node.js 22. This change removes dead code and adds a tiny test case for passing `undefined` as the IV. Refs: nodejs#50973 PR-URL: nodejs#57787 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
As far as I can tell, the `iv` parameter can never be `undefined` (but it can be `null`!), so this code appears to have been dead since Node.js 22. This change removes dead code and adds a tiny test case for passing `undefined` as the IV. Refs: #50973 PR-URL: #57787 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
As far as I can tell, the `iv` parameter can never be `undefined` (but it can be `null`!), so this code appears to have been dead since Node.js 22. This change removes dead code and adds a tiny test case for passing `undefined` as the IV. Refs: #50973 PR-URL: #57787 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
aduh95 commented May 6, 2025
This doesn't land cleanly on v22.x-staging |
As far as I can tell, the
ivparameter can never beundefined(but it can benull!), so this code appears to have been dead since Node.js 22.This change removes dead code and adds a tiny test case for passing
undefinedas the IV.Refs: #50973