summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-11-30 21:15:19 +0000
committertb <>2024-11-30 21:15:19 +0000
commit84a34fc0ac2aee60173093fad7e666f6c83948a9 (patch)
tree0f3a27a47d8c843efed3f6d10a4d7508d21521dc /src
parent56c2d56ad840436ee3e6f9e935795a718b9edb37 (diff)
downloadopenbsd-84a34fc0ac2aee60173093fad7e666f6c83948a9.tar.gz
openbsd-84a34fc0ac2aee60173093fad7e666f6c83948a9.tar.bz2
openbsd-84a34fc0ac2aee60173093fad7e666f6c83948a9.zip
Explain how to free the stack returned by CMS_get1_{certs,crls}()
with job
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/CMS_add0_cert.311
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/CMS_add0_cert.3 b/src/lib/libcrypto/man/CMS_add0_cert.3
index c5a7367d21..9cfc8ac79f 100644
--- a/src/lib/libcrypto/man/CMS_add0_cert.3
+++ b/src/lib/libcrypto/man/CMS_add0_cert.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: CMS_add0_cert.3,v 1.7 2019/11/02 15:39:46 schwarze Exp $ 1.\" $OpenBSD: CMS_add0_cert.3,v 1.8 2024/11/30 21:15:19 tb Exp $
2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,7 +65,7 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: November 2 2019 $ 68.Dd $Mdocdate: November 30 2024 $
69.Dt CMS_ADD0_CERT 3 69.Dt CMS_ADD0_CERT 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -186,6 +186,13 @@ if there are none or an error occurs.
186The only error which will occur in practice is if the 186The only error which will occur in practice is if the
187.Fa cms 187.Fa cms
188type is invalid. 188type is invalid.
189The returned stack must be freed using the appropriate
190macro wrapper of
191.Xr sk_pop_free 3 ,
192namely
193.Dv sk_X509_pop_free()
194or
195.Dv sk_X509_CRL_pop_free() .
189.Sh SEE ALSO 196.Sh SEE ALSO
190.Xr CMS_ContentInfo_new 3 , 197.Xr CMS_ContentInfo_new 3 ,
191.Xr CMS_encrypt 3 , 198.Xr CMS_encrypt 3 ,