On Thu, Aug 07, 2014 at 07:33:55PM +0200, Daniel Stenberg via RT wrote:
> Hi
> 
> As OpenSSL is a library, it should only ever use exit in the case of sever 
> problems and not just for "mere" run-time problems.
> 
> OPENSSL_config() is documented to be strongly recommended but yet it calls 
> exit(1) if it fails to parse the config file. I find it much too fragile and 
> makes it really hard to use in a lots of real-world cases.
> 
> I would like OPENSSL_config() to not call exit.

I would put it more strongly. It MUST NOT call exit(1).  It must
instead return a suitable error if it fails.

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to