-.\" $OpenBSD: CMS_verify.3,v 1.7 2019/11/02 15:39:46 schwarze Exp $
+.\" $OpenBSD: CMS_verify.3,v 1.8 2022/01/19 20:28:06 tb Exp $
.\" full merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 2 2019 $
+.Dd $Mdocdate: January 19 2022 $
.Dt CMS_VERIFY 3
.Os
.Sh NAME
It must be called after a successful
.Fn CMS_verify
operation.
+The signers must be freed with
+.Fn sk_X509_free .
.Pp
Normally the verify process proceeds as follows.
.Pp
returns all signers or
.Dv NULL
if an error occurred.
+The signers must be freed with
+.Fn sk_X509_free .
.Pp
The error can be obtained from
.Xr ERR_get_error 3 .
-.\" $OpenBSD: PKCS7_verify.3,v 1.9 2019/06/10 14:58:48 schwarze Exp $
+.\" $OpenBSD: PKCS7_verify.3,v 1.10 2022/01/19 20:28:06 tb Exp $
.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 10 2019 $
+.Dd $Mdocdate: January 19 2022 $
.Dt PKCS7_VERIFY 3
.Os
.Sh NAME
.Fn PKCS7_get0_signers
retrieves the signer's certificates from
.Fa p7 .
+The signers must be freed with
+.Fn sk_X509_free .
It does
.Sy not
check their validity or whether any signatures are valid.
returns all signers or
.Dv NULL
if an error occurred.
+The signers must be freed with
+.Fn sk_X509_free .
.Pp
The error can be obtained from
.Xr ERR_get_error 3 .