[stunnel-users] Stunnel 4.26 compile issue against openssl 0.9.8j + openssl-fips-1.2

David W Blaine dblaine2 at csc.com
Mon Mar 9 20:54:44 CET 2009

Hi all,

When I compile against OpenSSL 0.9.8j + OpenSSL-FIPS-1.2 module on Centos 
4.7, I get an error in client.c:

client.o(.text+0x1dd): In function `init_ssl':
/tmp/stunnel-4.27/src/client.c:333: undefined reference to 
collect2: ld returned 1 exit status
make[1]: *** [stunnel] Error 1
make[1]: Leaving directory `/tmp/stunnel-4.27/src'
make: *** [all-recursive] Error 1

It seems this call is related to a bug in OpenSSL-FIPS-1.1.1 module 
according to the comments.

Checking the references in the includes for both OpenSSL 0.9.8j and 
OpenSSL-FIPS-1.2, I found that the call should be "fips_set_prng_key" with 
3 arguments (the above requires only 2).

So based on the comments, I removed it and I was able to successfully 
compile and install. Not sure if that is the right thing to do???

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20090309/be2c2e67/attachment.html>

More information about the stunnel-users mailing list