diff --git a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h index 88131e02..77117c7d 100644 --- a/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +++ b/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h @@ -4,11 +4,11 @@ /* * WARNING: This construction was a prototype, which should not be used * any more in new projects. - * + * * crypto_sign_edwards25519sha512batch is provided for applications * initially built with NaCl, but as recommended by the author of this * construction, new applications should use ed25519 instead. - * + * * In Sodium, you should use the high-level crypto_sign_*() functions instead. */ diff --git a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c index 0a7309fe..1932b1bb 100644 --- a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +++ b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c @@ -188,14 +188,14 @@ randombytes_sysrandom_init(void) # ifdef SYS_getrandom { - unsigned char fodder[16]; + unsigned char fodder[16]; - if (randombytes_linux_getrandom(fodder, sizeof fodder) == 0) { - stream.getrandom_available = 1; - errno = errno_save; - return; - } - stream.getrandom_available = 0; + if (randombytes_linux_getrandom(fodder, sizeof fodder) == 0) { + stream.getrandom_available = 1; + errno = errno_save; + return; + } + stream.getrandom_available = 0; } # endif