fix buffer overflow

This commit is contained in:
Glenn Maynard
2009-08-08 20:12:07 +00:00
parent 74f675acee
commit 204f7edac0
+1 -1
View File
@@ -378,7 +378,7 @@ RString CryptManager::GetMD5ForString( RString sData )
RString CryptManager::GetSHA1ForString( RString sData )
{
unsigned char digest[16];
unsigned char digest[20];
int iHash = register_hash( &sha1_desc );