Fix the return value for SSL_get0_chain_certs()
authorMatt Caswell <matt@openssl.org>
Tue, 16 Jul 2019 14:32:35 +0000 (15:32 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 17 Jul 2019 11:31:57 +0000 (12:31 +0100)
commit7bc82358ae930cfbd353602bc1fd25bfad107350
tree78ecd7165bed5537c171a4b07611a83aa6d6d5f9
parent3c93fbacf6f5abd63e1d1763e7da537ed87f2a5d
Fix the return value for SSL_get0_chain_certs()

This function was always returning 0. It should return 1 on success.

Fixes #9374

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/9395)
ssl/s3_lib.c