diff options
author | kan <kan@FreeBSD.org> | 2007-04-04 03:24:01 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-04-04 03:24:01 +0000 |
commit | 035e85000744a1fbcfce61c4528666d8fdc55104 (patch) | |
tree | 9f7a955215ae9aa94943916a012e3e2e833eab8f /lib | |
parent | ecc1614c2b2071f5f7113324614d038aa1871949 (diff) | |
download | FreeBSD-src-035e85000744a1fbcfce61c4528666d8fdc55104.zip FreeBSD-src-035e85000744a1fbcfce61c4528666d8fdc55104.tar.gz |
First argument of MD5Final is an array of unsigned characters.
Declare 'digest' local variable accordingly.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libatm/cache_key.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libatm/cache_key.c b/lib/libatm/cache_key.c index 8e212e6..7bfeac2 100644 --- a/lib/libatm/cache_key.c +++ b/lib/libatm/cache_key.c @@ -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; /* |