<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'><span style="color: rgb(68, 68, 68); font-size: 15px; line-height: 21.3px; background-color: rgb(255, 255, 255);">Thanks for the answer! The function ERR_get_error() is returning 0x00000000. Do you know what it means?</span><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br style="line-height: 21.3px;"></div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);">I used the command you suggested:</div><div style="line-height: 21.3px; color: rgb(68, 68, 68); font-size: 15px; background-color: rgb(255, 255, 255);"><br style="line-height: 21.3px;"><div style="line-height: 21.3px;"><div style="line-height: 21.3px;">arm:~/nitere/new$ openssl errstr 0x00000000</div><div style="line-height: 21.3px;">error:00000000:lib(0):func(0):reason(0)</div></div></div><br><div>> Date: Sun, 3 Jan 2016 10:27:15 -0500<br>> From: noloader@gmail.com<br>> To: openssl-users@openssl.org<br>> Subject: Re: [openssl-users] FIPS_mode_set(1)    error:00000000:lib(0):func(0):reason(0)<br>> <br>> > It compiles without errors. When I try to enable FIPS mode, I get this<br>> > output:<br>> ><br>> > arm:~/nitere/new$ ./fipsctl set 1<br>> > *** Enabling FIPS module. ***<br>> > *** Failed to enable FIPS module. ***<br>> > error:00000000:lib(0):func(0):reason(0)<br>> ><br>> > But FIPS is still disabled:<br>> ><br>> > arm:~/nitere/new$ ./fipsctl get<br>> > *** FIPS module is disabled. ***<br>> ><br>> > Does somebody knows what is wrong?<br>> <br>> Just a guess, but it looks like ERR_get_error() is returning the<br>> result of loading the error strings.<br>> <br>> If FIPS_mode_set fails, then grab ERR_get_error() immediately and<br>> ouput it in hex. With the hex error code, you can:<br>> <br>>     $ openssl errstr 0x060800A3<br>>     error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips<br>> <br>> Jeff<br>> _______________________________________________<br>> openssl-users mailing list<br>> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users<br></div>                                    </div></body>
</html>