1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 04:25:10 -07:00

Fix pasto, unbreak linux builds

This commit is contained in:
Frank Denis 2019-04-02 07:38:30 +02:00
parent 5b12922d14
commit 1765c79705

View File

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