mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Fix pasto, unbreak linux builds
This commit is contained in:
parent
5b12922d14
commit
1765c79705
@ -413,7 +413,7 @@ randombytes_internal_random_stir(void)
|
||||
}
|
||||
# elif defined(HAVE_LINUX_COMPATIBLE_GETRANDOM)
|
||||
if (global.getrandom_available != 0) {
|
||||
if (randombytes_getrandom(stream.key, sizeof stream.key) != 0) {
|
||||
if (randombytes_linux_getrandom(stream.key, sizeof stream.key) != 0) {
|
||||
sodium_misuse(); /* LCOV_EXCL_LINE */
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user