diff options
| author | tb <> | 2024-03-06 10:07:47 +0000 |
|---|---|---|
| committer | tb <> | 2024-03-06 10:07:47 +0000 |
| commit | 1945b03d34a5712ab365c1eaa479a42e5aa7a65a (patch) | |
| tree | fde6d3ffc369c4be86c5821fb3e33ef65c6c07d5 /src | |
| parent | 2237eca83445530a27ad9e51b857de23803dd29b (diff) | |
| download | openbsd-1945b03d34a5712ab365c1eaa479a42e5aa7a65a.tar.gz openbsd-1945b03d34a5712ab365c1eaa479a42e5aa7a65a.tar.bz2 openbsd-1945b03d34a5712ab365c1eaa479a42e5aa7a65a.zip | |
Clarify ownership in X509_STORE_add_lookup()
Whether an X509_LOOKUP with given method already exists or not, this API
returns an internal pointer that must not be freed.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/man/X509_STORE_load_locations.3 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/X509_STORE_load_locations.3 b/src/lib/libcrypto/man/X509_STORE_load_locations.3 index f38eeb6671..b9ecbc3dad 100644 --- a/src/lib/libcrypto/man/X509_STORE_load_locations.3 +++ b/src/lib/libcrypto/man/X509_STORE_load_locations.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: X509_STORE_load_locations.3,v 1.10 2021/11/12 14:05:28 schwarze Exp $ | 1 | .\" $OpenBSD: X509_STORE_load_locations.3,v 1.11 2024/03/06 10:07:47 tb Exp $ |
| 2 | .\" full merge up to: | 2 | .\" full merge up to: |
| 3 | .\" OpenSSL X509_STORE_add_cert b0edda11 Mar 20 13:00:17 2018 +0000 | 3 | .\" OpenSSL X509_STORE_add_cert b0edda11 Mar 20 13:00:17 2018 +0000 |
| 4 | .\" | 4 | .\" |
| @@ -16,7 +16,7 @@ | |||
| 16 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 16 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 17 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 17 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 18 | .\" | 18 | .\" |
| 19 | .Dd $Mdocdate: November 12 2021 $ | 19 | .Dd $Mdocdate: March 6 2024 $ |
| 20 | .Dt X509_STORE_LOAD_LOCATIONS 3 | 20 | .Dt X509_STORE_LOAD_LOCATIONS 3 |
| 21 | .Os | 21 | .Os |
| 22 | .Sh NAME | 22 | .Sh NAME |
| @@ -122,7 +122,7 @@ already contains an | |||
| 122 | .Vt X509_LOOKUP | 122 | .Vt X509_LOOKUP |
| 123 | object using the given | 123 | object using the given |
| 124 | .Fa method ; | 124 | .Fa method ; |
| 125 | if it does, no action occurs. | 125 | if it does, the existing object is returned and no other action occurs. |
| 126 | Otherwise, a new | 126 | Otherwise, a new |
| 127 | .Vt X509_LOOKUP | 127 | .Vt X509_LOOKUP |
| 128 | object is allocated, added, and returned. | 128 | object is allocated, added, and returned. |
| @@ -148,6 +148,7 @@ In particular, parse errors or lack of memory can cause failure. | |||
| 148 | returns the existing or new lookup object or | 148 | returns the existing or new lookup object or |
| 149 | .Dv NULL | 149 | .Dv NULL |
| 150 | on failure. | 150 | on failure. |
| 151 | This is an internal pointer that must not be freed. | ||
| 151 | With LibreSSL, the only reason for failure is lack of memory. | 152 | With LibreSSL, the only reason for failure is lack of memory. |
| 152 | .Sh FILES | 153 | .Sh FILES |
| 153 | .Bl -tag -width Ds | 154 | .Bl -tag -width Ds |
