Hi, About: >> HAVE_GETRANDOM := $(shell printf '#include <stddef.h>\n#include >> <sys/random.h>\nint main(void){char >> buf[256];\ngetrandom(buf,sizeof(buf),GRND_NONBLOCK);}' >bb_libtest.c; $(CC) >> $(CFLAGS) $(CFLAGS_busybox) -D_GNU_SOURCE -o /dev/null
Is it a good idea to have GRND_NONBLOCK in that check? What if it's not defined, but getrandom() is, then HAVE_GETRANDOM might incorrectly be false? We do anyway define it in seedrng.c if needed. Kind regards, Thomas _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox