First argument of MD5Final is an array of unsigned characters.

Declare 'digest' local variable accordingly.
This commit is contained in:
Alexander Kabaev 2007-04-04 03:24:01 +00:00
parent edb2e5dca3
commit 7e2f16ba72

View File

@ -69,7 +69,8 @@ void
scsp_cache_key(const Atm_addr *ap, const struct in_addr *ip, int ol, char *op)
{
int i, len;
char buff[32], digest[16];
char buff[32];
unsigned char digest[16];
MD5_CTX context;
/*