[openssl-users] fips_premain.c multiple definition of main

2017-11-17 Thread Karyn Ulriksen
nt is that when building the openssl libraries, I'm getting hung up on the build reporting that fips_premain.c has multiple definitions of main. This happens regardless of which combos of MTYPE I declare for my make. I've tried the linux-generic and various mips for linux and irix M

[openssl-users] fips_premain.c bitcode for iOS

2016-08-31 Thread Brian Jost
We ran into an issue where we were selecting 'Include bitcode' when submitting to apple and when doing ad-hoc builds. It seems doing this with the fips_premain.c file included in the xcode compile sources phase causes an instant crash on start up. What is the proper way to get past th

missing fips_premain.c when building solaris64-sparcv9-gcc with shared libs

2014-03-21 Thread Scott Ruffner
I've configured for solaris64-sparcv9-gcc and shared libs; the build chokes looking for something called fips_premain.c; I feel like I'm not passing it some LIBDIR it needs (from the Makefile): : hera:/usr/cs/src/openssl-1.0.1f ; find ./ -name Makefile -a -exec grep fips

Re: fips_premain.c, C++ compiler, and work arounds?

2014-03-17 Thread Jeffrey Walton
On Sun, Mar 9, 2014 at 9:06 AM, Dr. Stephen Henson wrote: > On Sun, Mar 09, 2014, Jeffrey Walton wrote: > >> I still have not found a solution to using OpenSSL with a C++ compiler. >> >> fips_premain.c makes the following declarations. They lack 'extern >> &

Re: fips_premain.c, C++ compiler, and work arounds?

2014-03-09 Thread Dr. Stephen Henson
On Sun, Mar 09, 2014, Jeffrey Walton wrote: > I still have not found a solution to using OpenSSL with a C++ compiler. > > fips_premain.c makes the following declarations. They lack 'extern > "C"', so I've got unresolved symbols: > > extern const void

fips_premain.c, C++ compiler, and work arounds?

2014-03-09 Thread Jeffrey Walton
I still have not found a solution to using OpenSSL with a C++ compiler. fips_premain.c makes the following declarations. They lack 'extern "C"', so I've got unresolved symbols: extern const void *FIPS_text_start(), *FIPS_text_end(); extern const unsign

Problems with compiling and linking fips_premain.c and fingerprint mismatch

2013-05-27 Thread Sairam Rangaswamy -X (sairanga - Aricent Technologies at Cisco)
the vxworks version we use does not support the __attribute__ and constructor etc defined in fips_premain.c. So, I copied all the code from fips_premain.c to fips.c and compiled the FOM (3.0) and SSL modules to create libcrypto.a and libssl.o. I know this will create fingerprint mismatch for the

fips_premain.c compilation issue with g++

2011-02-28 Thread raghib nasri
which its rightly giving the error that initializer string too long for the array FINGERPRINT_ascii_value[40] defined in fips_premain.c. Obviously i cannot modify this since the file itself is a part of validation. This issue has been raised years ago but all threads ended up with

RE: fips_premain.c

2009-08-31 Thread David Schwartz
pankaj227 wrote: > Ok ! I can't modify the fips_premain.c but what If It can't be integrated > into my application as it is. Doesn't it limit the usage of > fipscanister.lib > by making it mandatory to have c like application which can use it. No, it doesn't.

RE: fips_premain.c

2009-08-31 Thread Will Bickford
> > In FIPS OpenSSL 1.2, fips_premain.c is produced as an output after > > doing ms\do_fips. > > A fips_premain.c.sha1 file is also produced containing the > > SHA1 of the c file. Does the security policy restricts modification > > to this file? > > My ap

RE: fips_premain.c

2009-08-31 Thread pankaj227
Ok ! I can't modify the fips_premain.c but what If It can't be integrated into my application as it is. Doesn't it limit the usage of fipscanister.lib by making it mandatory to have c like application which can use it. What if I don't use fips_premain.c at all and writ

RE: fips_premain.c

2009-08-31 Thread David Schwartz
> In FIPS OpenSSL 1.2, fips_premain.c is produced as an output after doing > ms\do_fips. > A fips_premain.c.sha1 file is also produced containing the SHA1 of the c > file. Does the security policy restricts modification to this file? My > application is in C++ and I need to do

fips_premain.c

2009-08-31 Thread pankaj227
Hi, In FIPS OpenSSL 1.2, fips_premain.c is produced as an output after doing ms\do_fips. A fips_premain.c.sha1 file is also produced containing the SHA1 of the c file. Does the security policy restricts modification to this file? My application is in C++ and I need to do changes in this file

Re: Problem using fips_premain.c with Sun Studio 12

2009-05-28 Thread Dr. Stephen Henson
On Thu, May 28, 2009, Gregory Street wrote: > We are encountering an error when trying to link openssl-fips using Sun > Studio. When we use C++ we are getting > > line 71: Error: Cannot use const char[41] to initialize const unsigned > char[40] > > > Which FIPS module are you using 1.1.2 o

Problem using fips_premain.c with Sun Studio 12

2009-05-28 Thread Gregory Street
We are encountering an error when trying to link openssl-fips using Sun Studio. When we use C++ we are getting line 71: Error: Cannot use const char[41] to initialize const unsigned char[40] We also changed the fipsld script to compile fips_premain.c using the C compiler, this results in