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

Refactor: change is_available return type to bool in s2n_cipher struct #4630

Merged
merged 12 commits into from
Jul 11, 2024

Conversation

jouho
Copy link
Contributor

@jouho jouho commented Jun 25, 2024

Resolved issues:

Part of #3983

Description of changes:

  • changed return type of is_available for s2n_cipher struct from uint8_t to bool
    uint8_t (*is_available)(void);
  • updated existing code to adapt to this change.

Call-outs:

Testing:

All unit tests passed. Will address CI failures if any.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Jun 25, 2024
@jouho jouho requested review from lrstewart and maddeleine June 25, 2024 23:50
@jouho jouho marked this pull request as ready for review June 25, 2024 23:50
crypto/s2n_cipher.h Outdated Show resolved Hide resolved
crypto/s2n_cipher.h Outdated Show resolved Hide resolved
@jouho jouho requested a review from lrstewart July 1, 2024 19:59
@jouho jouho changed the title Refactor: change is_available return type to S2N_RESULT in s2n_cipher struct Refactor: change is_available return type to bool in s2n_cipher struct Jul 2, 2024
@jouho jouho enabled auto-merge (squash) July 10, 2024 17:48
@jouho jouho merged commit 9f3daae into main Jul 11, 2024
37 checks passed
@jouho jouho deleted the s2n_cipher-struct-cleanup branch July 11, 2024 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants