<div dir="ltr">Hi Steve,<div><br></div><div>Could you please help me out?</div><div>I tried to re-read that part of user-guide but no success.</div><div>I know how to generate fingerprint but once i create new static library out of libcrypto.a and libssl.a.</div><div>And I do generate the finger print of that new library but don't know how to proceed further with that.</div><div><br></div><div>because if i use that new library(to create executable) as it is, it throws fingerprint mismatch error.</div><div>My sample source file has FIPS_mode_set(1) call only.</div><div><br></div><div>Thanks</div><div>Sahil</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 24, 2016 at 4:14 PM, Steve Marquess <span dir="ltr"><<a href="mailto:marquess@openssl.com" target="_blank">marquess@openssl.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 06/24/2016 03:10 AM, Sahil Gandhi wrote:<br>
> Hi Jakob,<br>
><br>
> Could you please elaborate it? I am not getting it.<br>
> I might missing something but I did not get it.<br>
><br>
> Many Thanks Jakob for replying.<br>
><br>
> -Sahil<br>
><br>
> On Fri, Jun 24, 2016 at 11:57 AM, Jakob Bohm <<a href="mailto:jb-openssl@wisemo.com">jb-openssl@wisemo.com</a><br>
</span><span class="">> <mailto:<a href="mailto:jb-openssl@wisemo.com">jb-openssl@wisemo.com</a>>> wrote:<br>
><br>
>     On 24/06/2016 07:59, Sahil Gandhi wrote:<br>
><br>
>         Hi All,<br>
><br>
>         I have built Openssl-fips-2.0.10.tar on* RHEL Linux* (/_*Same<br>
>         happens with Solaris 10*_/). Then I built Openssl-1.0.1p using<br>
>         respective fips object module (i.e. Openssl-fips-2.0.10.tar).<br>
><br>
>         Once I have built Openssl-1.0.1p, libcrypto.a and libssl.a has<br>
>         been created.<br>
>         I need to join these 2 libraries and make it one.<br>
><br>
>         I am doing it using "ar" command as follows:<br>
><br>
>         ar -x libssl.a<br>
>         ar -x libcrypto.a<br>
><br>
>         Then combine all .o files to make third library:<br>
>         ar -r libnew.a *.o<br>
><br>
>         But when i use this libnew.a in my sample(contain<br>
>         FIPS_mode_set(1)), it compiles successfully but when execute the<br>
>         executable it throws error* finger print does not match:fips.c:232*<br>
><br>
>          Plz help.<br>
>          I need to combine both libaries and make it one.<br>
><br>
>         Any help/suggestion?<br>
><br>
><br>
>     You forgot the special link step for FIPS enabled applications,<br>
>     perhaps also some of the other required steps from the FIPS<br>
>     module users guide.<br>
><br>
<br>
</span>See <a href="https://openssl.org/docs/fips/UserGuide-2.0.pdf" rel="noreferrer" target="_blank">https://openssl.org/docs/fips/UserGuide-2.0.pdf</a>.<br>
<br>
The FIPS module requires special build-time voodoo to satisfy the<br>
peculiar requirements of the FIPS 140-2 validation.<br>
<br>
-Steve M.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Steve Marquess<br>
OpenSSL Validation Services, Inc.<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>
<a href="mailto:marquess@openssl.com">marquess@openssl.com</a><br>
gpg/pgp key: <a href="http://openssl.com/docs/0x6D1892F5.asc" rel="noreferrer" target="_blank">http://openssl.com/docs/0x6D1892F5.asc</a><br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><span style="color:rgb(102,102,102)">Sahil Gandhi</span><br><br><input type="hidden"><input type="hidden"><div></div></div>
</div></div>