Re: How to release ENGINE_load_private_key?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx.
> 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@xxxxxxxxxxx.
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/fb620f6d03b9e75d593d6a9638b17decec072223.camel%40openssl.org.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux