First argument of MD5Final is an array of unsigned characters.
Declare 'digest' local variable accordingly.
This commit is contained in:
parent
ecc1614c2b
commit
035e850007
@ -69,7 +69,8 @@ void
|
|||||||
scsp_cache_key(const Atm_addr *ap, const struct in_addr *ip, int ol, char *op)
|
scsp_cache_key(const Atm_addr *ap, const struct in_addr *ip, int ol, char *op)
|
||||||
{
|
{
|
||||||
int i, len;
|
int i, len;
|
||||||
char buff[32], digest[16];
|
char buff[32];
|
||||||
|
unsigned char digest[16];
|
||||||
MD5_CTX context;
|
MD5_CTX context;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user