<br><font size=1 face="sans-serif">Hi list,</font>
<br><font size=1 face="sans-serif"> </font>
<br><font size=1 face="sans-serif">Sorry about the previous posting.  Resubmitting
without HTML.</font>
<br>
<br>
<br><font size=1 face="sans-serif">The only reference to this call is in
fips_rand.c and as I said it is in all lower case. The third parameter
appears to be the key size which can be 16, 24 or 32.</font>
<br><font size=1 face="sans-serif"> </font>
<br>
<br><font size=1 face="sans-serif">Has anyone successfully compiled stunnel
against openssl fips 1.2???</font>
<br>
<br><font size=2 face="sans-serif">-----------------------------------------------------------------<br>
DAVID BLAINE, GCIA , CISSP<br>
GDLS-C Lead Information Risk Manager (LIRM)<br>
CSC<br>
<br>
6000 E. 17 Mile Rd. Sterling Heights MI 48313<br>
GIS | o: 586.825.7650 | c: 810.217.8041 | f: 586.825.8606 | dblaine2@csc.com
| www.csc.com<br>
<br>
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. <br>
NOTE: Regardless of content, this e-mail shall not operate to bind CSC
to any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"C.J. Adams-Collier"
<cjac@colliertech.org></b> </font>
<p><font size=1 face="sans-serif">03/09/2009 06:28 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">David W Blaine/GIS/CSC@CSC</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">stunnel-users@mirt.net</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [stunnel-users] Stunnel 4.26 compile
issue against openssl 0.9.8j         + openssl-fips-1.2</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br><font size=3>removed the call entirely?  that may not have been
what you wanted to do.  sounds like you may have been using the .h
files from the wrong version?</font>
<br>
<br><font size=3>On Mon, Mar 9, 2009 at 12:54 PM, David W Blaine <</font><a href=mailto:dblaine2@csc.com><font size=3 color=blue><u>dblaine2@csc.com</u></font></a><font size=3>>
wrote:</font>
<br>
<br><font size=2 face="sans-serif">Hi all,</font><font size=3> </font>
<br>
<br>
<br><font size=2 face="sans-serif">When I compile against OpenSSL 0.9.8j
+ OpenSSL-FIPS-1.2 module on Centos 4.7, I get an error in client.c:</font><font size=3>
</font>
<br>
<br><font size=2 face="sans-serif">client.o(.text+0x1dd): In function `init_ssl':</font><font size=3>
</font>
<br><font size=2 face="sans-serif">/tmp/stunnel-4.27/src/client.c:333:
undefined reference to `FIPS_set_prng_key'</font><font size=3> </font>
<br><font size=2 face="sans-serif">collect2: ld returned 1 exit status</font>
<br><font size=2 face="sans-serif">make[1]: *** [stunnel] Error 1</font><font size=3>
</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/tmp/stunnel-4.27/src'</font><font size=3>
</font>
<br><font size=2 face="sans-serif">make: *** [all-recursive] Error 1</font><font size=3>
</font>
<br>
<br>
<br><font size=2 face="sans-serif">It seems this call is related to a bug
in OpenSSL-FIPS-1.1.1 module according to the comments.</font><font size=3>
</font>
<br>
<br><font size=2 face="sans-serif">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).</font><font size=3> </font>
<br>
<br><font size=2 face="sans-serif">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???</font><font size=3> </font>
<br>
<br>
<br><font size=2 face="sans-serif">Dave</font>
<br><font size=3>_______________________________________________</font>
<br><font size=3>stunnel-users mailing list</font>
<br><a href="mailto:stunnel-users@mirt.net"><font size=3 color=blue><u>stunnel-users@mirt.net</u></font></a>
<br><a href="http://stunnel.mirt.net/mailman/listinfo/stunnel-users"><font size=3 color=blue><u>http://stunnel.mirt.net/mailman/listinfo/stunnel-users</u></font></a>
<br>
<br>
<br>
<br>