mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 20:45:17 -07:00
5c946f9c61
test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.
19 lines
157 B
C
19 lines
157 B
C
|
|
#include <stdlib.h>
|
|
|
|
#ifdef _WIN32
|
|
|
|
static void
|
|
srandom(unsigned seed)
|
|
{
|
|
srand(seed);
|
|
}
|
|
|
|
static long
|
|
random(void)
|
|
{
|
|
return (long) rand();
|
|
}
|
|
|
|
#endif
|