Skip to content

Conversation

@rhenium
Copy link
Member

@rhenium rhenium commented Dec 27, 2025

Commit 1de3b80 (cipher: make output buffer String independent, 2024-12-10, #824) ensures the output buffer String has sufficient capacity, bu the length can be shorter. The assert() is simply incorrect and should be removed.

Also remove a similar assert() in Cipher#final. While not incorrect, it is not useful either.

Commit 1de3b80 (cipher: make output buffer String independent,
2024-12-10) ensures the output buffer String has sufficient capacity,
bu the length can be shorter. The assert() is simply incorrect and
should be removed.

Also remove a similar assert() in Cipher#final. While not incorrect, it
is not useful either.
@rhenium
Copy link
Member Author

rhenium commented Dec 27, 2025

CI failure isn't relevant

@rhenium rhenium merged commit 605e8b7 into ruby:master Dec 27, 2025
45 of 47 checks passed
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