Cleanup compiler warnings

This commit is contained in:
Daan Sprenkels
2017-04-25 17:30:17 +02:00
parent c713515597
commit c32c015050
2 changed files with 2 additions and 2 deletions

View File

@@ -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__ */
}