Hello,

I am using static FIPS modules on Windows XP 32 bit. I am trying to link
with my application. I am following command in User Guide 1.2 for static
linking. 

perl util\fipslink.pl /nologo /subsystem:console /machine:I386
/out:out32\md2test.exe /ENTRY:"main"

what does /out: option mean. What shud I be specifying here.  Go this
option /out:out32\md2test.exe in google.
What does FIPS_TARGET environmental variable mean?

When I execute above perl command , I get following error.

>perl util\fipslink.pl /nologo /subsystem:console /machine:I386
/out:out32\md2test.exe" /Entry:"main"
Integrity check OK
cl /c
C:\SandBox\7_5_api\3rdparty\Microsoft\openssl\fips\path/fips_premain.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for
80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
fips_premain.c
link /nologo /subsystem:console /machine:I386 /out:out32\md2test.exe
/Entry:main
LINK : warning LNK4001: no object files specified; libraries used
LINK : error LNK2001: unresolved external symbol _main
out32\md2test.exe : fatal error LNK1120: 1 unresolved externals
First stage Link failure at util\fipslink.pl line 42.

Am I missing something in the Perl command line options? 

Thank you!
Manjula



-----Original Message-----
From: owner-openssl-us...@openssl.org
[mailto:owner-openssl-us...@openssl.org] On Behalf Of Dr. Stephen Henson
Sent: Thursday, January 01, 2009 6:53 AM
To: openssl-users@openssl.org
Subject: Re: FIPS_mode_set(1) call Fails

On Tue, Dec 30, 2008, Chikkanagappa, Manjula wrote:

> Hello Everyone!
> 
>  
> 
> I have FIPS 1.2 modules and 0.9.8 stable development version
> (12/30/2008) OpenSSL modules. I am invoking FIPS_mode_set(1)  in my
> application. The FIPS_mode_set(1) returns 0 all the time. I have
written
> a small test program with just FIPS_mode_set(1) call. And the call
still
> fails with return value o. Could you anyone throw more light on this
> problem? I am running on Windows XP  and VC++ 6.0 SP6.
> 
> 

Are you using shared libraries or static ones?

What error code do you get? Check the FAQ for details.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to