diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/man/OCSP_response_status.3 | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/lib/libcrypto/man/OCSP_response_status.3 b/src/lib/libcrypto/man/OCSP_response_status.3 index 5e443d9a29..4e85384fb0 100644 --- a/src/lib/libcrypto/man/OCSP_response_status.3 +++ b/src/lib/libcrypto/man/OCSP_response_status.3 | |||
@@ -1,11 +1,11 @@ | |||
1 | .\" $OpenBSD: OCSP_response_status.3,v 1.7 2019/06/06 01:06:58 schwarze Exp $ | 1 | .\" $OpenBSD: OCSP_response_status.3,v 1.8 2019/08/27 09:40:29 schwarze Exp $ |
2 | .\" full merge up to: OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 | 2 | .\" full merge up to: OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400 |
3 | .\" selective merge up to: OpenSSL e23ac625 Jan 24 12:27:19 2018 -0500 | 3 | .\" selective merge up to: OpenSSL 6738bf14 Feb 13 12:51:29 2018 +0000 |
4 | .\" | 4 | .\" |
5 | .\" This file is a derived work. | 5 | .\" This file is a derived work. |
6 | .\" The changes are covered by the following Copyright and license: | 6 | .\" The changes are covered by the following Copyright and license: |
7 | .\" | 7 | .\" |
8 | .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> | 8 | .\" Copyright (c) 2016, 2019 Ingo Schwarze <schwarze@openbsd.org> |
9 | .\" | 9 | .\" |
10 | .\" Permission to use, copy, modify, and distribute this software for any | 10 | .\" Permission to use, copy, modify, and distribute this software for any |
11 | .\" purpose with or without fee is hereby granted, provided that the above | 11 | .\" purpose with or without fee is hereby granted, provided that the above |
@@ -66,7 +66,7 @@ | |||
66 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 66 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
68 | .\" | 68 | .\" |
69 | .Dd $Mdocdate: June 6 2019 $ | 69 | .Dd $Mdocdate: August 27 2019 $ |
70 | .Dt OCSP_RESPONSE_STATUS 3 | 70 | .Dt OCSP_RESPONSE_STATUS 3 |
71 | .Os | 71 | .Os |
72 | .Sh NAME | 72 | .Sh NAME |
@@ -82,6 +82,7 @@ | |||
82 | .Nm OCSP_RESPID_free , | 82 | .Nm OCSP_RESPID_free , |
83 | .Nm OCSP_response_create , | 83 | .Nm OCSP_response_create , |
84 | .Nm OCSP_response_status , | 84 | .Nm OCSP_response_status , |
85 | .Nm OCSP_response_status_str , | ||
85 | .Nm OCSP_response_get1_basic , | 86 | .Nm OCSP_response_get1_basic , |
86 | .Nm OCSP_basic_sign | 87 | .Nm OCSP_basic_sign |
87 | .Nd OCSP response functions | 88 | .Nd OCSP response functions |
@@ -116,6 +117,10 @@ | |||
116 | .Fo OCSP_response_status | 117 | .Fo OCSP_response_status |
117 | .Fa "OCSP_RESPONSE *resp" | 118 | .Fa "OCSP_RESPONSE *resp" |
118 | .Fc | 119 | .Fc |
120 | .Ft const char * | ||
121 | .Fo OCSP_response_status_str | ||
122 | .Fa "long code" | ||
123 | .Fc | ||
119 | .Ft OCSP_BASICRESP * | 124 | .Ft OCSP_BASICRESP * |
120 | .Fo OCSP_response_get1_basic | 125 | .Fo OCSP_response_get1_basic |
121 | .Fa "OCSP_RESPONSE *resp" | 126 | .Fa "OCSP_RESPONSE *resp" |
@@ -210,6 +215,13 @@ It returns one of the values | |||
210 | or | 215 | or |
211 | .Dv OCSP_RESPONSE_STATUS_UNAUTHORIZED . | 216 | .Dv OCSP_RESPONSE_STATUS_UNAUTHORIZED . |
212 | .Pp | 217 | .Pp |
218 | .Fn OCSP_response_status_str | ||
219 | converts one of the | ||
220 | .Fa status | ||
221 | codes returned by | ||
222 | .Fn OCSP_response_status | ||
223 | to a string consisting of one word. | ||
224 | .Pp | ||
213 | .Fn OCSP_response_get1_basic | 225 | .Fn OCSP_response_get1_basic |
214 | decodes and returns the | 226 | decodes and returns the |
215 | .Vt OCSP_BASICRESP | 227 | .Vt OCSP_BASICRESP |
@@ -275,6 +287,9 @@ if an error occurred. | |||
275 | .Fn OCSP_response_status | 287 | .Fn OCSP_response_status |
276 | returns a status value. | 288 | returns a status value. |
277 | .Pp | 289 | .Pp |
290 | .Fn OCSP_response_status_str | ||
291 | returns a pointer to a static string. | ||
292 | .Pp | ||
278 | .Fn OCSP_basic_sign | 293 | .Fn OCSP_basic_sign |
279 | return 1 on success or 0 on failure. | 294 | return 1 on success or 0 on failure. |
280 | .Sh SEE ALSO | 295 | .Sh SEE ALSO |