dsprenkels / randombytes

A portable C library for generating cypto-secure random bytes
MIT License
96 stars 37 forks source link

Add functional test for old linux versions #42

Open dsprenkels opened 2 years ago

dsprenkels commented 2 years ago

Old linux versions do not have the getrandom system call. On these versions, randombytes.c falls back to using /dev/{u,}random for randomness. We should see whether GitHub actions has support for old versions of linux (probably not); or alternatively, hack the tests in such a way that the tests use the compatibility mode nonetheless. (See also #40)