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

libc.so for NDK r12(b) platforms/android-19/arch-arm/ doesn't contain arc4random_stir function #166

Closed
timofey-retailnext opened this issue Jul 18, 2016 · 2 comments

Comments

@timofey-retailnext
Copy link

timofey-retailnext commented Jul 18, 2016

all arc4random* stuff exists in both libc.a and libc.so for {NDK-r10e}/platforms/android-19/arch-arm/usr/lib/libc.*
but in case of {NDK-r12} & {NDK-r12b} it exists only in .a version of the library. .so version doesn't have at least one function: arc4random_stir, therefore I'm unable to build openssh that actively uses it.

@DanAlbert
Copy link
Member

#42

@timofey-retailnext
Copy link
Author

timofey-retailnext commented Jul 18, 2016

Thanks for explanation,
are there any specific reasons why removed arc4random_* functions still exist in stdlib.h ?

ex. {NDK-r12b}/platforms/android-19/arch-arm/include/stdlib.h lines 119-120:
extern void arc4random_stir(void);
extern void arc4random_addrandom(unsigned char *, int);

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

No branches or pull requests

2 participants