Merge pull request #285 from evoskuil/master

Fix VS common props for MT release dll, remove dead code.
This commit is contained in:
Frank Denis 2015-07-27 01:19:43 +02:00
commit 024b74c849
2 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,7 @@
<ItemDefinitionGroup> <ItemDefinitionGroup>
<ClCompile> <ClCompile>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
</ClCompile> </ClCompile>
</ItemDefinitionGroup> </ItemDefinitionGroup>

View File

@ -243,7 +243,6 @@ randombytes_salsa20_random_stir(void)
unsigned char m0[crypto_auth_hmacsha512256_BYTES + unsigned char m0[crypto_auth_hmacsha512256_BYTES +
2U * SHA512_BLOCK_SIZE - SHA512_MIN_PAD_SIZE]; 2U * SHA512_BLOCK_SIZE - SHA512_MIN_PAD_SIZE];
unsigned char *k0 = m0 + crypto_auth_hmacsha512256_BYTES; unsigned char *k0 = m0 + crypto_auth_hmacsha512256_BYTES;
size_t i;
size_t sizeof_k0 = sizeof m0 - crypto_auth_hmacsha512256_BYTES; size_t sizeof_k0 = sizeof m0 - crypto_auth_hmacsha512256_BYTES;
memset(stream.rnd32, 0, sizeof stream.rnd32); memset(stream.rnd32, 0, sizeof stream.rnd32);