<div dir="auto">Can you please provide me examples or links to refer it.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 10 Nov 2020 at 7:04 PM, Matt Caswell <<a href="mailto:matt@openssl.org">matt@openssl.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br>
<br>
On 10/11/2020 13:25, shiva kumar wrote:<br>
> Any alternatives for this, if the compiled version doesn't enabled the flag?<br>
<br>
valgrind?<br>
<br>
<br>
Matt<br>
<br>
> <br>
> On Tue, 10 Nov 2020 at 4:52 PM, Matt Caswell <<a href="mailto:matt@openssl.org" target="_blank">matt@openssl.org</a><br>
> <mailto:<a href="mailto:matt@openssl.org" target="_blank">matt@openssl.org</a>>> wrote:<br>
> <br>
> <br>
> <br>
>     On 10/11/2020 09:19, shiva kumar wrote:<br>
>     > Hi, <br>
>     > I'm trying to use the CRYPTO_mem_leaks  API in openssl 1.1.1d, but<br>
>     > during compilation I'm getting error as <br>
>     > *Unsatisfied symbol "CRYPTO_mem_leaks" *<br>
>     ><br>
>     > I have Included the header <br>
>     > #include <openssl/crypto.h><br>
>     ><br>
>     > one doubt is it is defined under crypto.h<br>
>     > #ifndef OPENSSL_NO_CRYPTO_MDEBUG<br>
>     > CRYPTO_mem_leaks //  defined<br>
>     > #endif <br>
>     ><br>
>     > in opensslconf.h is defined as  <br>
>     > #ifndef OPENSSL_NO_CRYPTO_MDEBUG<br>
>     > #define OPENSSL_NO_CRYPTO_MDEBUG<br>
>     > #endif <br>
>     ><br>
>     > How to resolve the issue?<br>
> <br>
>     The CRYPTO_mem_leaks API is not available by default. You have to<br>
>     compile a version of OpenSSL that has it enabled using the<br>
>     "enable-crypto-mdebug" option to "Configure":<br>
> <br>
>     <a href="https://github.com/openssl/openssl/blob/6e933b35492a4dc3370b9f49890646dadca82cd8/INSTALL#L327-L329" rel="noreferrer" target="_blank">https://github.com/openssl/openssl/blob/6e933b35492a4dc3370b9f49890646dadca82cd8/INSTALL#L327-L329</a><br>
> <br>
>     Matt<br>
> <br>
> -- <br>
> *With Best Regards*<br>
> *Shivakumar S*<br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px"><b style="font-size:12.8px">With Best Regards</b><br></div><div style="font-size:12.8px"><b style="font-size:12.8px">Shivakumar S</b></div></div></div></div></div>