fipsld fails when CC=g++

2006-06-09 Thread Marty Lamb
Hello, I am trying to build a C++ application using OpenSSL-fips-1.0. The application compiles and runs fine (sans FIPS_mode_set()) when simply compiled using g++. However, when "CC=gcc fipsld" is used, the following error results: /usr/local/ssl/bin/../lib/fips_premain.c:66: error: initial

Re: fipsld fails when CC=g++

2006-06-12 Thread Marty Lamb
I just noticed an insanely bad typo in my original message: > However, when "CC=gcc fipsld" is used, the following error results: Should instead be > However, when "CC=g++ fipsld" is used, the following error results: Sorry for any confusion. Any help would be very much appreciated. - Marty

Re: fipsld fails when CC=g++

2006-06-12 Thread Kyle Hamilton
No, you got the problem exactly right, and it is a bug that does need to be addressed. (HMAC_SHA1_SIG is defined as a string with a nil terminator. gcc doesn't throw the error, but g++ rightly does. I think there's a command-line parameter to disable that particular error check, but I'm not sur

Re: fipsld fails when CC=g++

2006-06-12 Thread Marty Lamb
Kyle Hamilton wrote: No, you got the problem exactly right, and it is a bug that does need to be addressed. (HMAC_SHA1_SIG is defined as a string with a nil terminator. gcc doesn't throw the error, but g++ rightly does. I think there's a command-line parameter to disable that particular error

Re: fipsld fails when CC=g++

2006-06-12 Thread marquess
Kyle Hamilton wrote: > > No, you got the problem exactly right, and it is a bug that > does need to be addressed. (HMAC_SHA1_SIG is defined as a > string with a nil terminator. gcc doesn't throw the error, > but g++ rightly does. I think there's a command-line > parameter to disable that particu