--- embedaddon/rsync/lib/mdfour.c 2016/11/01 09:54:32 1.1.1.2 +++ embedaddon/rsync/lib/mdfour.c 2021/03/17 00:32:36 1.1.1.3 @@ -4,7 +4,7 @@ * An implementation of MD4 designed for use in the SMB authentication protocol. * * Copyright (C) 1997-1998 Andrew Tridgell - * Copyright (C) 2005-2015 Wayne Davison + * Copyright (C) 2005-2020 Wayne Davison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -193,6 +193,8 @@ void mdfour_result(md_context *md, uchar digest[MD4_DI copy4(digest+12, m->D); } +#ifdef TEST_MDFOUR + void mdfour(uchar digest[MD4_DIGEST_LEN], uchar *in, int length) { md_context md; @@ -201,7 +203,6 @@ void mdfour(uchar digest[MD4_DIGEST_LEN], uchar *in, i mdfour_result(&md, digest); } -#ifdef TEST_MDFOUR int protocol_version = 28; static void file_checksum1(char *fname)