Skip to content
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

chacha20_poly1305_openssh: Rename confusing variable (NFC). #2231

Merged

Conversation

briansmith
Copy link
Owner

open_in_place takes ciphertext in and outputs plaintext, and it already has a local variable with a name to that effect. It is very confusing to then have a variable named plaintext_in_ciphertext_out in this function. Probably it was copy-pasta from seal_in_place.

`open_in_place` takes ciphertext in and outputs plaintext, and it
already has a local variable with a name to that effect. It is very
confusing to then have a variable named `plaintext_in_ciphertext_out`
in this function. Probably it was copy-pasta from `seal_in_place`.
@briansmith briansmith self-assigned this Jan 16, 2025
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.00%. Comparing base (f2116eb) to head (6aec280).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2231      +/-   ##
==========================================
- Coverage   97.00%   97.00%   -0.01%     
==========================================
  Files         165      165              
  Lines       20511    20509       -2     
  Branches      464      464              
==========================================
- Hits        19897    19895       -2     
  Misses        505      505              
  Partials      109      109              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@briansmith briansmith merged commit 525d577 into main Jan 16, 2025
164 checks passed
@briansmith briansmith deleted the b/chacha20_poly1305_openssh-rename-confusing-variable branch January 16, 2025 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant