diff options
author | Matt Caswell <matt@openssl.org> | 2020-11-04 11:31:55 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-11-06 10:34:48 +0000 |
commit | b8ae4a83de0de38fd382f3981e503f2ab5461c07 (patch) | |
tree | a38fef22dbc431360c7b348454e08a681e05e09a /engines/e_padlock.c | |
parent | 3309c4b716c922172b6a7ae0cef88fad0203886d (diff) |
Don't clear errors on failure in CONF_modules_load_file_ex()
The call to CONF_modules_load() in CONF_modules_load_file_ex() can
return a negative number to indicate failure. This was incorrectly
being interpreted as "success" and therefore errors were being cleared
incorrectly.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13311)
Diffstat (limited to 'engines/e_padlock.c')
0 files changed, 0 insertions, 0 deletions