From b77b0745694fbc19c63026a81502889efe0137c9 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Sun, 26 Jul 2015 15:53:39 -0700 Subject: [PATCH 1/2] Fix Visual Studio common props for MT dynamic release. --- builds/msvc/properties/ReleaseDEXE.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builds/msvc/properties/ReleaseDEXE.props b/builds/msvc/properties/ReleaseDEXE.props index b89b373a..73deeae9 100644 --- a/builds/msvc/properties/ReleaseDEXE.props +++ b/builds/msvc/properties/ReleaseDEXE.props @@ -13,7 +13,7 @@ - MultiThreadedDebugDLL + MultiThreadedDLL From aadab3eba3e21bf6728ff634ab72d7201ed56dc9 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Sun, 26 Jul 2015 16:03:24 -0700 Subject: [PATCH 2/2] Remove dead code. --- src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c b/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c index 377e4ba2..727261f3 100644 --- a/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +++ b/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c @@ -243,7 +243,6 @@ randombytes_salsa20_random_stir(void) unsigned char m0[crypto_auth_hmacsha512256_BYTES + 2U * SHA512_BLOCK_SIZE - SHA512_MIN_PAD_SIZE]; unsigned char *k0 = m0 + crypto_auth_hmacsha512256_BYTES; - size_t i; size_t sizeof_k0 = sizeof m0 - crypto_auth_hmacsha512256_BYTES; memset(stream.rnd32, 0, sizeof stream.rnd32);