diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 03:04:26 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 03:04:26 +0200 |
commit | 24873f0c06e6196a105f648e8fe29d19dcddd1de (patch) | |
tree | f0ad6ae52390a9ed3b63c6fe228da30f5cf92d7b /lib/md5.c | |
parent | bgpd: bgpd-no-as.patch (diff) | |
download | frr-24873f0c06e6196a105f648e8fe29d19dcddd1de.tar.xz frr-24873f0c06e6196a105f648e8fe29d19dcddd1de.zip |
lib: lib-warnings.patch
Remove compile warnings for the lib directory
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by:
Diffstat (limited to 'lib/md5.c')
-rw-r--r-- | lib/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -360,7 +360,7 @@ caddr_t digest; /* caller digest to be filled in */ * pass */ MD5Update(&context, k_ipad, 64); /* start with inner pad */ MD5Update(&context, text, text_len); /* then text of datagram */ - MD5Final(digest, &context); /* finish up 1st pass */ + MD5Final((uint8_t *)digest, &context); /* finish up 1st pass */ /* * perform outer MD5 */ @@ -369,5 +369,5 @@ caddr_t digest; /* caller digest to be filled in */ MD5Update(&context, k_opad, 64); /* start with outer pad */ MD5Update(&context, digest, 16); /* then results of 1st * hash */ - MD5Final(digest, &context); /* finish up 2nd pass */ + MD5Final((uint8_t *)digest, &context); /* finish up 2nd pass */ } |