<div dir="ltr">Thanks for your prompt replay!<br><br>Are the same sized binaries have same md5sums too?<br><br>I get the following:<br><br>make programs<br>cp programs/pluto/pluto .. -v<br>make clean<br>make programs<br>[hiren@kerneldev openswan-2.4.12]$ ls -l ../pluto programs/pluto/pluto<br>
-rwxrwxr-x 1 hiren hiren 1830842 Aug 25 16:03 ../pluto<br>-rwxrwxr-x 1 hiren hiren 1830842 Aug 25 16:04 programs/pluto/pluto<br>[hiren@kerneldev openswan-2.4.12]$ md5sum ../pluto programs/pluto/pluto<br>
a2448d5480a8bbcfd0674288fb69c373 ../pluto<br>4f985241a9cddd63fa7bb718c8513a95 programs/pluto/pluto<br><br>I am afraid of a small source change that can not be detected by looking at the size of binaries.<br><br>Regards,<br>
-hiren<br><br><div class="gmail_quote">On Wed, Aug 20, 2008 at 10:24 PM, Paul Wouters <span dir="ltr"><<a href="mailto:paul@xelerance.com" target="_blank">paul@xelerance.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>On Wed, 20 Aug 2008, hiren joshi wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I get different md5sum of openswan binaries (pluto for example) after<br>
compilation even without any modification to source.<br>
Is there any timestamp or random number input to source that changes the md5sum?<br>
<br>
I use md5sums to detect any change in source across builds.<br>
Is there any way to get same md5sums for same source (or any other<br>
method to detect the change in source)?<br>
</blockquote>
<br></div></div>
No. It does not happen for me:<br>
<br>
make programs<br>
cp OBJ.linux.x86_64/programs/pluto/pluto .<br>
make clean<br>
make programs<br>
ls -l pluto OBJ.linux.x86_64/programs/pluto/pluto<br>
-rwxrwxr-x 1 paul paul 2617570 2008-08-20 13:12 OBJ.linux.x86_64/programs/pluto/pluto<br>
-rwxrwxr-x 1 paul paul 2617570 2008-08-20 13:11 pluto<br><font color="#888888">
<br>
Paul<br>
</font></blockquote></div><br></div>