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

Remove aad_len check on NULL out buffer #6820

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

maxtropets
Copy link
Collaborator

@maxtropets maxtropets commented Feb 10, 2025

This is not required to be set to something, but was check to freeze the existing implementation in #6610 when first migrating to AL3.0 and symcrypt. Now with the internal implementation changes this assertion is no longer true, therefore removed.

UPD. 99% sure this's the cause: openssl/openssl#26658. Seems like error path fix, which also took away zeroing the data-written count.

This is not required to be set to something, but was check to freeze
the existing implementation in microsoft#6610 when first migrating to AL3.0 and
symcrypt. Now with the internal implementation changes this assertion
is no longer true, therefore removed.
@maxtropets maxtropets self-assigned this Feb 10, 2025
@maxtropets maxtropets requested a review from a team as a code owner February 10, 2025 11:54
@maxtropets maxtropets enabled auto-merge February 10, 2025 13:38
@maxtropets maxtropets added this pull request to the merge queue Feb 10, 2025
Merged via the queue into microsoft:main with commit 6866055 Feb 10, 2025
18 checks passed
@maxtropets maxtropets deleted the f/aad-check-remove branch February 10, 2025 14:14
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.

None yet

2 participants