help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Binary/MD5 checksum comparison not functioning


From: Adrian Phillips
Subject: [PATCH] Binary/MD5 checksum comparison not functioning
Date: 05 Feb 2002 13:27:18 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Here is a new patch. Using type=binary or type=md5 kept copying the
file, I noticed while debugging that the sent MD5 was being reset in
cfservd. This should fix this although I'm rather confused as to why
the bzero was there (cut and paste error or should it really be there,
in which case where is the error ?),

--- cfengine-2.0.a16/src/cfservd.c~     Tue Feb  5 08:21:49 2002
+++ cfengine-2.0.a16/src/cfservd.c      Tue Feb  5 08:26:49 2002
@@ -2106,7 +2106,6 @@
  
 Debug("CompareLocalChecksums(%s)\n",ChecksumPrint('m',digest));
 bzero(sendbuffer,bufsize);
-bzero(digest,EVP_MAX_MD_SIZE+1);
 
 if (ChecksumChanged(filename,digest,cfverbose,true,'m'))
    {


-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]