<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I did the tests in a Ubuntu 14.04. Is there a problem with this version?<br><br><div>> To: openssl-users@openssl.org<br>> From: marquess@openssl.com<br>> Date: Mon, 21 Dec 2015 08:20:47 -0500<br>> Subject: Re: [openssl-users] undefined reference to `FIPS_mode'<br>> <br>> On 12/21/2015 07:31 AM, Marcos Bontempo wrote:<br>> > Hello,<br>> > <br>> > I resolved the error after compiling FIPS with ./config fips shared. I<br>> > also needed to export LD_LIBRARY_PATH=/usr/local/ssl/lib:$LD_LIBRARY_PATH. <br>> > <br>> > Now I have a new problem.<br>> > <br>> > I executed this code to set the FIPS mode and no error is prompted:<br>> > <br>> > result = FIPS_mode_set(1);<br>> > if(result != 1)<br>> > {<br>> > ERR_load_crypto_strings();<br>> > printf("*** Failed to enable FIPS module. ***\n");<br>> > printf("%s\n", ERR_error_string(ERR_get_error(), NULL));<br>> > }<br>> > <br>> > But when I check the FIPS mode I still get mode 0.<br>> > <br>> > mode = FIPS_mode();<br>> > if(mode == 0)<br>> > {<br>> > printf("*** FIPS module is disabled. ***\n");<br>> > }<br>> > if(mode == 1)<br>> > {<br>> > printf("*** FIPS module is enabled. ***\n");<br>> > }<br>> > <br>> > When I execute the code as sudo, I get this error:<br>> > <br>> > error:0F06D065:common libcrypto routines:FIPS_mode_set:fips mode not<br>> > supported<br>> <br>> Your specific platform isn't supported. The OpenSSL FIPS module doesn't<br>> run on as many platforms as OpenSSL proper.<br>> <br>> -Steve M.<br>> <br>> -- <br>> Steve Marquess<br>> OpenSSL Software Foundation<br>> 1829 Mount Ephraim Road<br>> Adamstown, MD  21710<br>> USA<br>> +1 877 673 6775 s/b<br>> +1 301 874 2571 direct<br>> marquess@openssl.com<br>> gpg/pgp key: http://openssl.com/docs/0x6D1892F5.asc<br>> _______________________________________________<br>> openssl-users mailing list<br>> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users<br></div>                                       </div></body>
</html>