Fix some places where X509_up_ref is used
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 17 May 2020 12:45:28 +0000 (14:45 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 18 May 2020 15:16:16 +0000 (17:16 +0200)
commite9e7b5df865c0bcd0a99d8146ec05378892a36e1
treeaedd9631e5ffb4c6b3272abadc301ab2d7d06889
parent082394839ea32386abc7ee33aaa9da864287064c
Fix some places where X509_up_ref is used
without error handling.

This takes up the ball from #11278
without trying to solve everything at once.

[extended tests]

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/11850)
crypto/err/openssl.txt
crypto/x509/x509_err.c
crypto/x509/x509_vfy.c
crypto/x509/x_pubkey.c
include/openssl/x509err.h