summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/man/OCSP_REQUEST_new.310
-rw-r--r--src/lib/libcrypto/man/OCSP_cert_to_id.36
-rw-r--r--src/lib/libcrypto/man/OCSP_request_add1_nonce.312
-rw-r--r--src/lib/libcrypto/man/OCSP_sendreq_new.322
4 files changed, 21 insertions, 29 deletions
diff --git a/src/lib/libcrypto/man/OCSP_REQUEST_new.3 b/src/lib/libcrypto/man/OCSP_REQUEST_new.3
index dd08b7c2ca..99240502e6 100644
--- a/src/lib/libcrypto/man/OCSP_REQUEST_new.3
+++ b/src/lib/libcrypto/man/OCSP_REQUEST_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OCSP_REQUEST_new.3,v 1.1 2016/11/27 20:40:07 schwarze Exp $ 1.\" $OpenBSD: OCSP_REQUEST_new.3,v 1.2 2016/11/30 20:54:25 jmc Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: November 27 2016 $ 51.Dd $Mdocdate: November 30 2016 $
52.Dt OCSP_REQUEST_NEW 3 52.Dt OCSP_REQUEST_NEW 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -58,7 +58,7 @@
58.Nm OCSP_request_sign , 58.Nm OCSP_request_sign ,
59.Nm OCSP_request_add1_cert , 59.Nm OCSP_request_add1_cert ,
60.Nm OCSP_request_onereq_count , 60.Nm OCSP_request_onereq_count ,
61.Nm OCSP_request_onereq_get0 , 61.Nm OCSP_request_onereq_get0
62.Nd OCSP request functions 62.Nd OCSP request functions
63.Sh SYNOPSIS 63.Sh SYNOPSIS
64.In openssl/ocsp.h 64.In openssl/ocsp.h
@@ -206,8 +206,8 @@ returns a pointer to an
206.Vt OCSP_ONEREQ 206.Vt OCSP_ONEREQ
207structure or 207structure or
208.Dv NULL 208.Dv NULL
209if the index value is out or range. 209if the index value is out of range.
210.Sh EXAMPLE 210.Sh EXAMPLES
211Create an 211Create an
212.Vt OCSP_REQUEST 212.Vt OCSP_REQUEST
213structure for certificate 213structure for certificate
diff --git a/src/lib/libcrypto/man/OCSP_cert_to_id.3 b/src/lib/libcrypto/man/OCSP_cert_to_id.3
index 6742e45415..33b0e8adaa 100644
--- a/src/lib/libcrypto/man/OCSP_cert_to_id.3
+++ b/src/lib/libcrypto/man/OCSP_cert_to_id.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OCSP_cert_to_id.3,v 1.1 2016/11/27 20:40:07 schwarze Exp $ 1.\" $OpenBSD: OCSP_cert_to_id.3,v 1.2 2016/11/30 20:54:25 jmc Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: November 27 2016 $ 51.Dd $Mdocdate: November 30 2016 $
52.Dt OCSP_CERT_TO_ID 3 52.Dt OCSP_CERT_TO_ID 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -174,7 +174,7 @@ if an error occurred.
174.Fn OCSP_id_cmp 174.Fn OCSP_id_cmp
175and 175and
176.Fn OCSP_id_issuer_cmp 176.Fn OCSP_id_issuer_cmp
177returns 0 for a match or non-zero otherwise. 177return 0 for a match or non-zero otherwise.
178.Pp 178.Pp
179.Fn OCSP_id_get0_info 179.Fn OCSP_id_get0_info
180returns 1 for success or 0 for failure. 180returns 1 for success or 0 for failure.
diff --git a/src/lib/libcrypto/man/OCSP_request_add1_nonce.3 b/src/lib/libcrypto/man/OCSP_request_add1_nonce.3
index 8de58d2731..7e9c1e878c 100644
--- a/src/lib/libcrypto/man/OCSP_request_add1_nonce.3
+++ b/src/lib/libcrypto/man/OCSP_request_add1_nonce.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OCSP_request_add1_nonce.3,v 1.1 2016/11/27 20:40:07 schwarze Exp $ 1.\" $OpenBSD: OCSP_request_add1_nonce.3,v 1.2 2016/11/30 20:54:25 jmc Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: November 27 2016 $ 51.Dd $Mdocdate: November 30 2016 $
52.Dt OCSP_REQUEST_ADD1_NONCE 3 52.Dt OCSP_REQUEST_ADD1_NONCE 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -72,14 +72,14 @@
72.Fa "int len" 72.Fa "int len"
73.Fc 73.Fc
74.Ft int 74.Ft int
75.Fo OCSP_copy_nonce 75.Fo OCSP_check_nonce
76.Fa "OCSP_BASICRESP *resp"
77.Fa "OCSP_REQUEST *req" 76.Fa "OCSP_REQUEST *req"
77.Fa "OCSP_BASICRESP *resp"
78.Fc 78.Fc
79.Ft int 79.Ft int
80.Fo OCSP_check_nonce 80.Fo OCSP_copy_nonce
81.Fa "OCSP_REQUEST *req"
82.Fa "OCSP_BASICRESP *resp" 81.Fa "OCSP_BASICRESP *resp"
82.Fa "OCSP_REQUEST *req"
83.Fc 83.Fc
84.Sh DESCRIPTION 84.Sh DESCRIPTION
85An OCSP nonce is typically added to an OCSP request to thwart replay 85An OCSP nonce is typically added to an OCSP request to thwart replay
diff --git a/src/lib/libcrypto/man/OCSP_sendreq_new.3 b/src/lib/libcrypto/man/OCSP_sendreq_new.3
index 994ce9cc2a..f24abef6b2 100644
--- a/src/lib/libcrypto/man/OCSP_sendreq_new.3
+++ b/src/lib/libcrypto/man/OCSP_sendreq_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OCSP_sendreq_new.3,v 1.1 2016/11/27 20:40:07 schwarze Exp $ 1.\" $OpenBSD: OCSP_sendreq_new.3,v 1.2 2016/11/30 20:54:25 jmc Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: November 27 2016 $ 51.Dd $Mdocdate: November 30 2016 $
52.Dt OCSP_SENDREQ_NEW 3 52.Dt OCSP_SENDREQ_NEW 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -202,22 +202,14 @@ structure or
202if an error occurred. 202if an error occurred.
203.Pp 203.Pp
204.Fn OCSP_sendreq_nbio 204.Fn OCSP_sendreq_nbio
205returns 205returns 1 if the operation was completed successfully,
206.Sy 1 206-1 if the operation should be retried,
207if the operation was completed successfully, 207or 0 if an error occurred.
208.Sy -1
209if the operation should be retried, or
210.Sy 0
211if an error occurred.
212.Pp 208.Pp
213.Fn OCSP_REQ_CTX_add1_header 209.Fn OCSP_REQ_CTX_add1_header
214and 210and
215.Fn OCSP_REQ_CTX_set1_req 211.Fn OCSP_REQ_CTX_set1_req
216return 212return 1 for success or 0 for failure.
217.Sy 1
218for success or
219.Sy 0
220for failure.
221.Pp 213.Pp
222.Fn OCSP_sendreq_bio 214.Fn OCSP_sendreq_bio
223returns the 215returns the
@@ -240,6 +232,6 @@ Add a Host header for
240.Sh CAVEATS 232.Sh CAVEATS
241These functions only perform a minimal HTTP query to a responder. 233These functions only perform a minimal HTTP query to a responder.
242If an application wishes to support more advanced features, it 234If an application wishes to support more advanced features, it
243should use an alternative more complete HTTP library. 235should use an alternative, more complete, HTTP library.
244.Pp 236.Pp
245Currently only HTTP POST queries to responders are supported. 237Currently only HTTP POST queries to responders are supported.