<div dir="ltr">Awesome, thanks for the info! <br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks,<div>Tathagata Chakraborty</div><div>Mo: 9884869684</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 23, 2023 at 12:59 PM Tomas Mraz <<a href="mailto:tomas@openssl.org">tomas@openssl.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 2023-06-22 at 16:53 +0530, Tathagata Chakraborty wrote:<br>
> Hi,<br>
> <br>
> I am planning to use openssl 3.0.9 as a static lib and use the Fips<br>
> provider from Openssl 3.0.8 with that. <br>
<br>
Hi,<br>
<br>
that should work just fine.<br>
<br>
> > > While building the 3.0.9 statically, do I need to use the enable-<br>
> > > fips flag?<br>
<br>
No, that is not necessary. Missing enable-fips just disables the build<br>
of the fips provider but otherwise it does not change anything in the<br>
libcrypto and libssl.<br>
<br>
> > > If I do use the enable fips flag in the build of 3.0.9, then do I<br>
> > > need to use the legacy.dylib (base provider) that is produced in<br>
> > > the build?. Note my project code will be linked using the static<br>
> > > libs (libcrypto.a and libssl.a) and my code also uses things that<br>
> > > are not provided by the fips module.<br>
<br>
The legacy.dylib is the legacy provider. That is needed only if you are<br>
using legacy crypto algorithms that are inside this provider. It has to<br>
be explictly loaded by API call or configuration, otherwise it is<br>
unused.<br>
<br>
-- <br>
Tomáš Mráz, OpenSSL<br>
<br>
</blockquote></div>