<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 10 June 2015 at 18:45, Viktor Dukhovni <span dir="ltr"><<a href="mailto:openssl-users@dukhovni.org" target="_blank">openssl-users@dukhovni.org</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 Wed, Jun 10, 2015 at 04:11:45PM +0530, Thulasi Goriparthi wrote:<br>
<br>
> Jakob is saying that if you want them to stay even after X509_STORE_free,<br>
> explicitly increment the ref count before calling free using something like<br>
> below.<br>
><br>
> CRYPTO_add(certificate->references, 1, CRYPTO_LOCK_X509);<br>
<br>
</span>That should be:<br>
<br>
    CRYPTO_add(&certificate->references, 1, CRYPTO_LOCK_X509);<br>
<br>
the references parameter should be a pointer.<br></blockquote><div><br>Thank you for the correction. <br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
        Viktor.<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" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
</div></div></blockquote></div><br></div></div>