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

Fix GCMShortBuffer test #367

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

SalusaSecondus
Copy link
Contributor

The OpenJDK test GCMShortBuffer checks to ensure that a ShortBufferException thrown by Cipher.doFinal() does not reset the cipher state. ACCP currently always resets the cipher as part of Cipher.doFinal(). This change causes ACCP to not reset cipher state when the input offsets, lengths, etc. are incorrect. It also includes new unit tests to prevent regression.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@SalusaSecondus SalusaSecondus requested a review from a team as a code owner March 6, 2024 23:20
geedo0
geedo0 previously approved these changes Mar 8, 2024
@SalusaSecondus
Copy link
Contributor Author

Change was simply rebasing my changes.

@SalusaSecondus
Copy link
Contributor Author

Closing and reopening to trigger the run again. The failure doesn't make sense.

@amirhosv amirhosv merged commit 31fdb38 into corretto:main Mar 12, 2024
20 of 22 checks passed
@SalusaSecondus SalusaSecondus deleted the gcmshortbuffer branch March 13, 2024 18:53
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.

3 participants