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

Build fixes for Android (using libudev-zero) #3

Closed
wants to merge 1 commit into from

Conversation

awakecoding
Copy link

This pull requests fixes build issues for libfido2 on Android (Yubico#247), where libudev-zero is used as a replacement for libudev. explicit_bzero is not found in the Android libc, but the symbol is defined and exported by libcrypto, so I added CRYPTO_EXPLICIT_BZERO to make it possible to use the symbol from that library instead with the right declarations/definitions. I have no idea if it works, but it does build for me now.

As for dependency injection, I've got a lot more changes on my branch, but the whole thing needs major refactoring that should probably come in a second pull request. I build all of the dependencies statically for all platforms and inject them explicitly into my builds.

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