diff options
| author | tb <> | 2024-11-30 21:20:44 +0000 |
|---|---|---|
| committer | tb <> | 2024-11-30 21:20:44 +0000 |
| commit | 2492c731f166baf3d13ba82610fdb8de9563acb7 (patch) | |
| tree | 23c9dcfb0d7e947a26f03b5808cf897e80698161 /src/lib/libc | |
| parent | f1be346ce0b5a00c1248e6f58afd87ffdc05d93b (diff) | |
| download | openbsd-2492c731f166baf3d13ba82610fdb8de9563acb7.tar.gz openbsd-2492c731f166baf3d13ba82610fdb8de9563acb7.tar.bz2 openbsd-2492c731f166baf3d13ba82610fdb8de9563acb7.zip | |
Be a bit more precise on the error conditions of CMS_get1_{certs,crls}()
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/CMS_add0_cert.3 | 7 |
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 | |||
| 183 | return the STACK of certificates or CRLs or | 183 | return the STACK of certificates or CRLs or |
| 184 | .Dv NULL | 184 | .Dv NULL |
| 185 | if there are none or an error occurs. | 185 | if there are none or an error occurs. |
| 186 | The only error which will occur in practice is if the | 186 | Possible errors are that the |
| 187 | .Fa cms | 187 | .Fa cms |
| 188 | type is invalid. | 188 | type is invalid or memory allocation failure, not all |
| 189 | errors result in an error on the error stack. | ||
| 189 | The returned stack must be freed using the appropriate | 190 | The returned stack must be freed using the appropriate |
| 190 | macro wrapper of | 191 | macro wrapper of |
| 191 | .Xr sk_pop_free 3 , | 192 | .Xr sk_pop_free 3 , |
