mirror of
https://github.com/AtHeartEngineer/sss.git
synced 2026-01-09 12:47:57 -05:00
Cleanup compiler warnings
This commit is contained in:
@@ -14,7 +14,7 @@ void randombytes(void *buf, const size_t n)
|
||||
int tmp = syscall(SYS_getrandom, buf, n, 0);
|
||||
assert(tmp == n); /* Failure indicates a bug in the code */
|
||||
#else
|
||||
# warning "randombytes is not supported on this platform. using INSECURE dummy version"
|
||||
# warning "randombytes(...) is not supported on this platform. Using INSECURE dummy version."
|
||||
memset(buf, 42, n);
|
||||
#endif /* __linux__ */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user