diff options
author | schwarze <> | 2018-03-18 10:01:45 +0000 |
---|---|---|
committer | schwarze <> | 2018-03-18 10:01:45 +0000 |
commit | 1f61ad11e4b88ba60fa96ceae6f31781ae4999c9 (patch) | |
tree | ec2a5063964c577f20363e908c377adfdfb61fe3 /src | |
parent | ea252a575fc9ba438d9b91b124675c39387ddfa2 (diff) | |
download | openbsd-1f61ad11e4b88ba60fa96ceae6f31781ae4999c9.tar.gz openbsd-1f61ad11e4b88ba60fa96ceae6f31781ae4999c9.tar.bz2 openbsd-1f61ad11e4b88ba60fa96ceae6f31781ae4999c9.zip |
In ocsp.h rev. 1.12 2018/03/17 14:44:34, jsing@ provided
OCSP_SINGLERESP_get0_id(3). OpenSSL fails to document it,
so document it from scratch.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/OCSP_resp_find_status.3 | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/OCSP_resp_find_status.3 b/src/lib/libcrypto/man/OCSP_resp_find_status.3 index d06540d716..a7412193a1 100644 --- a/src/lib/libcrypto/man/OCSP_resp_find_status.3 +++ b/src/lib/libcrypto/man/OCSP_resp_find_status.3 | |||
@@ -1,10 +1,10 @@ | |||
1 | .\" $OpenBSD: OCSP_resp_find_status.3,v 1.5 2016/12/25 22:15:10 schwarze Exp $ | 1 | .\" $OpenBSD: OCSP_resp_find_status.3,v 1.6 2018/03/18 10:01:45 schwarze Exp $ |
2 | .\" OpenSSL c952780c Jun 21 07:03:34 2016 -0400 | 2 | .\" full merge up to: OpenSSL c952780c Jun 21 07:03:34 2016 -0400 |
3 | .\" | 3 | .\" |
4 | .\" This file is a derived work. | 4 | .\" This file is a derived work. |
5 | .\" The changes are covered by the following Copyright and license: | 5 | .\" The changes are covered by the following Copyright and license: |
6 | .\" | 6 | .\" |
7 | .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> | 7 | .\" Copyright (c) 2016, 2018 Ingo Schwarze <schwarze@openbsd.org> |
8 | .\" | 8 | .\" |
9 | .\" Permission to use, copy, modify, and distribute this software for any | 9 | .\" Permission to use, copy, modify, and distribute this software for any |
10 | .\" purpose with or without fee is hereby granted, provided that the above | 10 | .\" purpose with or without fee is hereby granted, provided that the above |
@@ -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: December 25 2016 $ | 68 | .Dd $Mdocdate: March 18 2018 $ |
69 | .Dt OCSP_RESP_FIND_STATUS 3 | 69 | .Dt OCSP_RESP_FIND_STATUS 3 |
70 | .Os | 70 | .Os |
71 | .Sh NAME | 71 | .Sh NAME |
@@ -79,6 +79,7 @@ | |||
79 | .Nm OCSP_resp_count , | 79 | .Nm OCSP_resp_count , |
80 | .Nm OCSP_resp_get0 , | 80 | .Nm OCSP_resp_get0 , |
81 | .Nm OCSP_resp_find , | 81 | .Nm OCSP_resp_find , |
82 | .Nm OCSP_SINGLERESP_get0_id , | ||
82 | .Nm OCSP_single_get0_status , | 83 | .Nm OCSP_single_get0_status , |
83 | .Nm OCSP_check_validity | 84 | .Nm OCSP_check_validity |
84 | .Nd OCSP response utility functions | 85 | .Nd OCSP response utility functions |
@@ -121,6 +122,10 @@ | |||
121 | .Fa "OCSP_CERTID *id" | 122 | .Fa "OCSP_CERTID *id" |
122 | .Fa "int last" | 123 | .Fa "int last" |
123 | .Fc | 124 | .Fc |
125 | .Ft const OCSP_CERTID * | ||
126 | .Fo OCSP_SINGLERESP_get0_id | ||
127 | .Fa "const OCSP_SINGLERESP *single" | ||
128 | .Fc | ||
124 | .Ft int | 129 | .Ft int |
125 | .Fo OCSP_single_get0_status | 130 | .Fo OCSP_single_get0_status |
126 | .Fa "OCSP_SINGLERESP *single" | 131 | .Fa "OCSP_SINGLERESP *single" |
@@ -362,6 +367,11 @@ in | |||
362 | .Fa id | 367 | .Fa id |
363 | was not found. | 368 | was not found. |
364 | .Pp | 369 | .Pp |
370 | .Fn OCSP_SINGLERESP_get0_id | ||
371 | returns an internal pointer to the certificate ID object used by | ||
372 | .Fa single ; | ||
373 | the returned pointer should not be freed by the caller. | ||
374 | .Pp | ||
365 | .Fn OCSP_single_get0_status | 375 | .Fn OCSP_single_get0_status |
366 | returns the status of | 376 | returns the status of |
367 | .Fa single | 377 | .Fa single |