Re: How to release ENGINE_load_private_key?

Tomas Mraz <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
When you release the EVP_PKEY object, the structural (and functional)
references to the ENGINE held by the EVP_PKEY will be decreased.

Tomas Mraz, OpenSSL

On Thu, 2024-11-07 at 17:37 +0800, Shudong Zhang wrote:
> Hi all,
> 
>     We use ENGINE_load_private_key to get key from PKCS#11 engine.
> And this API will increase the engine's struct_ref.
>     But we could not find an proper API to decrease engine's
> struct_ref.
>     Does anyone know how to release this correctly?
> 
>    Thansk for you in advance!
> 
> BRs,
> Shudong
>    
> -- 
> 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/4d66794d.96a0.19305fc010a.Coremail.zsdclgc%40163.com
> .

-- 
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/fb620f6d03b9e75d593d6a9638b17decec072223.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.