]> granicus.if.org Git - curl/commit
openssl: replace call to OPENSSL_config
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Aug 2014 10:02:34 +0000 (12:02 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Aug 2014 10:40:31 +0000 (12:40 +0200)
commit7d2f61f66ab4e047fc9aefc2effc1ac6d340a66a
tree203d77cca9db1f0a7e4df1cd0fe0409419743ba3
parent40e13829afab4999543f1baf4fa2ca7390206f44
openssl: replace call to OPENSSL_config

OPENSSL_config() is "strongly recommended" to use but unfortunately that
function makes an exit() call on wrongly formatted config files which
makes it hard to use in some situations. OPENSSL_config() itself calls
CONF_modules_load_file() and we use that instead and we ignore its
return code!

Reported-by: Jan Ehrhardt
Bug: http://curl.haxx.se/bug/view.cgi?id=1401
lib/vtls/openssl.c