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 asym_wrap_test on 32-bit architectures #431

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

cjwatson
Copy link
Contributor

C_WrapKey and C_UnwrapKey use CK_ULONG for the wrapped key size, which isn't the same as size_t on all architectures. This caused "passing argument ... from incompatible pointer type" errors on Debian i386.

`C_WrapKey` and `C_UnwrapKey` use `CK_ULONG` for the wrapped key size,
which isn't the same as `size_t` on all architectures.  This caused
"passing argument ... from incompatible pointer type" errors on Debian
i386.
@cjwatson
Copy link
Contributor Author

The test failures don't seem to have anything to do with my changes; I'd appreciate somebody more knowledgeable about them having a look at those.

@qpernil
Copy link
Contributor

qpernil commented Sep 11, 2024

The errors are not related to your fix, just that external PRs don't have access to github secrets.

@qpernil qpernil merged commit 80c51f6 into Yubico:master Sep 11, 2024
25 of 27 checks passed
@qpernil
Copy link
Contributor

qpernil commented Sep 11, 2024

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants