diff options
author | Richard Levitte <levitte@openssl.org> | 2019-04-05 10:28:32 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-04-05 11:32:07 +0200 |
commit | e3af453baceee7401ba0c5044a4c3aeaf246406f (patch) | |
tree | 3bcb612efea386e43100845cff23a8449412e3cc /crypto/provider_conf.c | |
parent | 0f5163bd1c9d993ec54b690b9da8d13efe089be0 (diff) |
OPENSSL_init_crypto(): check config return code correctly
It was assumed that the config functionality returned a boolean.
However, it may return a negative number on error, so we need to take
that into account.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8679)
Diffstat (limited to 'crypto/provider_conf.c')
0 files changed, 0 insertions, 0 deletions