For testing purpose i have tried to add hash to .dll file and see the same error.
xxx.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x358 First stage Link failure at fipslink.pl line 42. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.EXE' : return code '0x53' Stop. what might be the reason why i am seeing this error with a DLL file aswell. need help here ... Thanks, Rajesh. On Wed, Oct 20, 2010 at 3:27 PM, rajesh kumar <rajeshdavul...@gmail.com>wrote: > I am working on application which need to be enhanced with FIPS Support. > > following User Guide and some information from mailers i have built OpenSSL > in Static on windows. > > as mentioned in the User Guide, I do understand that when OpenSSL Static > build is used, application need to be built with hash using fipslink.pl > > *FIPS_TARGET is the path of the target executable or DLL file* > > Now the problem which i am facing now is that my OutPut file is niether DLL > nor Exe. it is an .tsp (Telephony Service Provider) file. > > what is the best way to do hashing to this kind of Target Files. > > when i try with the current file type which my Project generates - it shows > following error > > xxxxx.tsp : fatal error LNK1107: invalid or corrupt file: cannot read at > 0x338 > > Thanks in advance. > > Thanks, > Rajesh. >