summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-11-30 21:20:44 +0000
committertb <>2024-11-30 21:20:44 +0000
commit6c999ad5f7acda63eb349f2d951da6735ef28c58 (patch)
tree23c9dcfb0d7e947a26f03b5808cf897e80698161 /src
parent84a34fc0ac2aee60173093fad7e666f6c83948a9 (diff)
downloadopenbsd-6c999ad5f7acda63eb349f2d951da6735ef28c58.tar.gz
openbsd-6c999ad5f7acda63eb349f2d951da6735ef28c58.tar.bz2
openbsd-6c999ad5f7acda63eb349f2d951da6735ef28c58.zip
Be a bit more precise on the error conditions of CMS_get1_{certs,crls}()
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/CMS_add0_cert.37
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/CMS_add0_cert.3 b/src/lib/libcrypto/man/CMS_add0_cert.3
index 9cfc8ac79f..1823ba2b34 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.8 2024/11/30 21:15:19 tb Exp $ 1.\" $OpenBSD: CMS_add0_cert.3,v 1.9 2024/11/30 21:20:44 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.
@@ -183,9 +183,10 @@ and
183return the STACK of certificates or CRLs or 183return the STACK of certificates or CRLs or
184.Dv NULL 184.Dv NULL
185if there are none or an error occurs. 185if there are none or an error occurs.
186The only error which will occur in practice is if the 186Possible errors are that the
187.Fa cms 187.Fa cms
188type is invalid. 188type is invalid or memory allocation failure, not all
189errors result in an error on the error stack.
189The returned stack must be freed using the appropriate 190The returned stack must be freed using the appropriate
190macro wrapper of 191macro wrapper of
191.Xr sk_pop_free 3 , 192.Xr sk_pop_free 3 ,