Re: Re: How to release ENGINE_load_private_key?

Tomas Mraz <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
Are you sure the EVP_PKEY is really released, i.e. as it is also
refcounted, there is no other reference to it? If so, the engine struct
reference wouldn't be decreased only if the engine_finish function
returned failure. You'll have to use a debugger and build OpenSSL with
debug info to step through the EVP_PKEY_free() call to see what really
happens.

Regards,
Tomas Mraz, OpenSSL


On Thu, 2024-11-07 at 18:12 +0800, Shudong Zhang wrote:
> 
> 
> 
> Hi Tomas,
>     Thansk for yur quick reply. The version that we use is 1.1.1.o.
>     Unfortunately, our result indicate that EVP_PKEY_free can not
> decrese engine struct counter.

-- 
Tomáš Mráz, OpenSSL

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/d245d4c167097092496366399e026cdf1faa728d.camel%40openssl.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.