Need inputs for engine cleanup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Need inputs for engine cleanup

Mahendra SP
Hi All,

We are using the openssl 1.1.1 version and using the ENGINE implementation for some crypto operation. Engine gets loaded dynamically and initialized successfully and we are able to use the engine. 
However, we plan to stop using this engine from the application side once we are done with it. When we try to stop using the engine, our engine references do not get removed. 
We have tried this sequence:
ENGINE_free();
ENGINE_finish();

However, ENGINE_remove() seems to remove the engine correctly and we see that our engine does not get referred after this remove call. 

Can someone please provide a correct way of removing the engine so that engine is no longer available for usage ? 
 
Thanks
Mahendra
Reply | Threaded
Open this post in threaded view
|

Re: Need inputs for engine cleanup

Mahendra SP
Hi All,
Can you please let me know any inputs on the above query?

Thanks
Mahendra

On Mon, Nov 30, 2020 at 9:19 PM Mahendra SP <[hidden email]> wrote:
Hi All,

We are using the openssl 1.1.1 version and using the ENGINE implementation for some crypto operation. Engine gets loaded dynamically and initialized successfully and we are able to use the engine. 
However, we plan to stop using this engine from the application side once we are done with it. When we try to stop using the engine, our engine references do not get removed. 
We have tried this sequence:
ENGINE_free();
ENGINE_finish();

However, ENGINE_remove() seems to remove the engine correctly and we see that our engine does not get referred after this remove call. 

Can someone please provide a correct way of removing the engine so that engine is no longer available for usage ? 
 
Thanks
Mahendra