On Fri September 18 2009, Jacques Lebastard wrote: > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <html> > <head> > <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> > </head> > <body bgcolor="#ffffff" text="#000000"> > Jacques Lebastard wrote: > <blockquote cite="mid:4ab383e9.3090...@evidian.com" type="cite"><font > size="-1"><font face="Tahoma"><font > face="Courier New, Courier, monospace">perl > F:\OPENSSL-FIPS\fips\fipslink.pl /nologo /subsystem:windows > /machine:X86 /map /out:Debug\OpenSSLFIPSTest.exe > @C:\DOCUME~1\JACQUE~1.LEB\LOCALS~1\Temp\nmA108.tmp<br> > ***HASH VALUE MISMATCH FOR FILE fips_premain.c *** at > F:\OPENSSL-FIPS\fips\fipslink.pl line 79.<br> > NMAKE : fatal error U1077: 'C:\Perl\bin\perl.EXE' : code retour '0x9'<br> > Stop.</font><br> > <br> > I modified the fipslink.pl to check the hash of fipscanister.lib file > first and this one succeeds.<br> > <br> > Both fips_premain.c and fips_premain.c.sha1 where copied from > .\openssl-fips-1.2\out32dll.<br> > The computed hash value (</font></font><font size="-1"><font > face="Tahoma"><font face="Courier New, Courier, > monospace">9288187a74e4e795c6c2a3178c362b416e39a371)</font></font></font><br> > <font size="-1"><font face="Tahoma">does not match the hash file: > </font></font><font > size="-1"><font face="Tahoma"><font > face="Courier New, Courier, > monospace">9e5ddba185ac446e0cf36fcf8e1b3acffe5d0b2c</font></font></font><br> > <font size="-1"><font face="Tahoma"><br> > Why am I getting a wrong hash value on fips_premain.c file only? A file > format difference?<br> > </font></font></blockquote> > The answer was in the question: I converted the file to a Unix format > and the computed hash matches!<br> > <div class="moz-signature">-- <br> > <title>Evidian Signature</title> > <!-- > <DIV align=left><FONT face="Courier New" size=2>--</FONT></DIV> > --> > <div align="left"><font face="Courier New" size="2"><strong>Jacques > LEBASTARD</strong></font></div> > <div align="left"><font face="Courier New" size="2">EVIDIAN - > Enterprise SSO R&D</font></div> > <div align="left"><font face="Courier New" size="2">Tel: +33 1 30 80 77 > 86</font></div> > <div align="left"> <a href="http://www.evidian.com/blog/"><img > src="cid:part1.01070308.04030702@evidian.com" alt="www.evidian.com" > border="0"></a><br> > <!-- > <p><FONT size=-1>This e-mail contains material that is confidential for the > sole use of the > intended recipient.<br/>Any review, reliance or distribution by others or > forwarding > without express permission is strictly prohibited.<br/>If you are not the > intended > recipient, please contact the sender and delete all copies. </FONT></p> > --> > </div> > </div> > </body> > </html> >
Do you have a plain-text version of this post? Posting in HTML is not a nice thing to do, besides, many people /dev/null anything in HTML just to minimize spam. You might want to drop the signature notice also, since this is a public list viewable by the world. Mike ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org