[PATCH] SSL: Add ENGINE_init() calls before using engines.

Maxim Dounin mdounin at mdounin.ru
Fri Apr 27 13:40:17 UTC 2018


Hello!

On Thu, Apr 26, 2018 at 07:31:37PM +0000, Пичулин Дмитрий Николаевич wrote:

> > In my opinion it would be better to have nginx working with engines in both scenarios.
> > And is not a problem to call ENGINE_init() from multiple places, since the API takes care of this case.
> 
> I'll check these statements in your next patch, but for now it 
> seems an odd functionality to me, because we have openssl config 
> and even nginx ssl_engine directive for that.

Note that the "ssl_engine" directive is not to initialize engines, 
but rather to register an engine as the default one for operations it 
supports.  It is designed to make it possible to work with various 
SSL accelerators.

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx-devel mailing list