summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-12-06 14:45:09 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-12-06 14:45:09 +0000
commita0aad3c0ddb07ec9c870fdba432a353be3975b4e (patch)
tree968db5befa9bf011892d8f1b93afe489309f4334
parent2b04746efb15708acb54d19db57d89f0d1596a8c (diff)
make sure that all the BIO pages point back to the master page BIO_new(3)
-rw-r--r--lib/libcrypto/man/BIO_ctrl.36
-rw-r--r--lib/libcrypto/man/BIO_f_base64.36
-rw-r--r--lib/libcrypto/man/BIO_f_cipher.36
-rw-r--r--lib/libcrypto/man/BIO_f_md.36
-rw-r--r--lib/libcrypto/man/BIO_f_null.36
-rw-r--r--lib/libcrypto/man/BIO_find_type.36
-rw-r--r--lib/libcrypto/man/BIO_read.35
-rw-r--r--lib/libcrypto/man/BIO_s_accept.36
-rw-r--r--lib/libcrypto/man/BIO_s_connect.36
-rw-r--r--lib/libcrypto/man/BIO_s_fd.35
-rw-r--r--lib/libcrypto/man/BIO_s_file.35
-rw-r--r--lib/libcrypto/man/BIO_s_mem.36
-rw-r--r--lib/libcrypto/man/BIO_s_null.36
-rw-r--r--lib/libcrypto/man/BIO_s_socket.37
-rw-r--r--lib/libcrypto/man/BIO_set_callback.36
-rw-r--r--lib/libcrypto/man/BIO_should_retry.37
-rw-r--r--lib/libcrypto/man/PEM_read_bio_PrivateKey.36
-rw-r--r--lib/libcrypto/man/PEM_write_bio_PKCS7_stream.35
-rw-r--r--lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.35
-rw-r--r--lib/libcrypto/man/i2d_PKCS7_bio_stream.35
20 files changed, 75 insertions, 41 deletions
diff --git a/lib/libcrypto/man/BIO_ctrl.3 b/lib/libcrypto/man/BIO_ctrl.3
index bc9d59eb7cc..73ca11979dc 100644
--- a/lib/libcrypto/man/BIO_ctrl.3
+++ b/lib/libcrypto/man/BIO_ctrl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_ctrl.3,v 1.5 2016/11/11 01:23:46 schwarze Exp $
+.\" $OpenBSD: BIO_ctrl.3,v 1.6 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL b055fceb Thu Oct 20 09:56:18 2016 +0100
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 11 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_CTRL 3
.Os
.Sh NAME
@@ -306,6 +306,8 @@ in a FILE or file descriptor BIO.
Source/sink BIOs return an 0 if they do not recognize the
.Fn BIO_ctrl
operation.
+.Sh SEE ALSO
+.Xr BIO_new 3
.Sh BUGS
Some of the return values are ambiguous and care should be taken.
In particular a return value of 0 can be returned if an operation
diff --git a/lib/libcrypto/man/BIO_f_base64.3 b/lib/libcrypto/man/BIO_f_base64.3
index 76b9bc6ea1a..c1bc926b227 100644
--- a/lib/libcrypto/man/BIO_f_base64.3
+++ b/lib/libcrypto/man/BIO_f_base64.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_f_base64.3,v 1.5 2016/11/11 01:27:20 schwarze Exp $
+.\" $OpenBSD: BIO_f_base64.3,v 1.6 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL fc1d88f0 Wed Jul 2 22:42:40 2014 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 11 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_F_BASE64 3
.Os
.Sh NAME
@@ -123,6 +123,8 @@ while((inlen = BIO_read(b64, inbuf, 512)) > 0)
BIO_flush(bio_out);
BIO_free_all(b64);
.Ed
+.Sh SEE ALSO
+.Xr BIO_new 3
.Sh BUGS
The ambiguity of EOF in base64-encoded data can cause additional
data following the base64-encoded block to be misinterpreted.
diff --git a/lib/libcrypto/man/BIO_f_cipher.3 b/lib/libcrypto/man/BIO_f_cipher.3
index 8d9aba5ade1..c2f39728450 100644
--- a/lib/libcrypto/man/BIO_f_cipher.3
+++ b/lib/libcrypto/man/BIO_f_cipher.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_f_cipher.3,v 1.5 2016/11/14 18:15:54 schwarze Exp $
+.\" $OpenBSD: BIO_f_cipher.3,v 1.6 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 14 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_F_CIPHER 3
.Os
.Sh NAME
@@ -160,3 +160,5 @@ returns 1 for a successful decrypt and 0 for failure.
.Pp
.Fn BIO_get_cipher_ctx
currently always returns 1.
+.Sh SEE ALSO
+.Xr BIO_new 3
diff --git a/lib/libcrypto/man/BIO_f_md.3 b/lib/libcrypto/man/BIO_f_md.3
index f2f0da1c736..d2c08daf7ef 100644
--- a/lib/libcrypto/man/BIO_f_md.3
+++ b/lib/libcrypto/man/BIO_f_md.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_f_md.3,v 1.5 2016/11/14 18:53:20 schwarze Exp $
+.\" $OpenBSD: BIO_f_md.3,v 1.6 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 14 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_F_MD 3
.Os
.Sh NAME
@@ -243,6 +243,8 @@ do {
} while(mdtmp);
BIO_free_all(bio);
.Ed
+.Sh SEE ALSO
+.Xr BIO_new 3
.Sh HISTORY
Before OpenSSL 1.0.0, the call to
.Fn BIO_get_md_ctx
diff --git a/lib/libcrypto/man/BIO_f_null.3 b/lib/libcrypto/man/BIO_f_null.3
index 77b797c2c7e..f66e2acc2c8 100644
--- a/lib/libcrypto/man/BIO_f_null.3
+++ b/lib/libcrypto/man/BIO_f_null.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_f_null.3,v 1.5 2016/11/14 19:01:22 schwarze Exp $
+.\" $OpenBSD: BIO_f_null.3,v 1.6 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL e117a890 Sep 14 12:14:41 2000 +0000
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 14 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_F_NULL 3
.Os
.Sh NAME
@@ -72,3 +72,5 @@ behaves just as though the BIO was not there.
.Sh RETURN VALUES
.Fn BIO_f_null
returns the null filter BIO method.
+.Sh SEE ALSO
+.Xr BIO_new 3
diff --git a/lib/libcrypto/man/BIO_find_type.3 b/lib/libcrypto/man/BIO_find_type.3
index 77911a9230a..ba1abc6ba47 100644
--- a/lib/libcrypto/man/BIO_find_type.3
+++ b/lib/libcrypto/man/BIO_find_type.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_find_type.3,v 1.5 2016/11/14 20:05:13 schwarze Exp $
+.\" $OpenBSD: BIO_find_type.3,v 1.6 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 14 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_FIND_TYPE 3
.Os
.Sh NAME
@@ -153,6 +153,8 @@ do {
btmp = BIO_next(btmp);
} while(btmp);
.Ed
+.Sh SEE ALSO
+.Xr BIO_new 3
.Sh BUGS
.Fn BIO_find_type
in OpenSSL 0.9.5a and earlier could not be safely passed a
diff --git a/lib/libcrypto/man/BIO_read.3 b/lib/libcrypto/man/BIO_read.3
index 896e41dd435..2da3728237f 100644
--- a/lib/libcrypto/man/BIO_read.3
+++ b/lib/libcrypto/man/BIO_read.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_read.3,v 1.4 2016/11/18 18:44:11 schwarze Exp $
+.\" $OpenBSD: BIO_read.3,v 1.5 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 18 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_READ 3
.Os
.Sh NAME
@@ -165,4 +165,5 @@ In particular when the source/sink is non-blocking or of a certain type
it may merely be an indication that no data is currently available and that
the application should retry the operation later.
.Sh SEE ALSO
+.Xr BIO_new 3 ,
.Xr BIO_should_retry 3
diff --git a/lib/libcrypto/man/BIO_s_accept.3 b/lib/libcrypto/man/BIO_s_accept.3
index 30a5050e2d4..e3193f6fd44 100644
--- a/lib/libcrypto/man/BIO_s_accept.3
+++ b/lib/libcrypto/man/BIO_s_accept.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_s_accept.3,v 1.4 2016/11/18 18:45:34 schwarze Exp $
+.\" $OpenBSD: BIO_s_accept.3,v 1.5 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL c03726ca Thu Aug 27 12:28:08 2015 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 18 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_S_ACCEPT 3
.Os
.Sh NAME
@@ -352,3 +352,5 @@ BIO_puts(cbio, "Connection 1: Second connection established\en");
BIO_free(cbio);
BIO_free(cbio2);
.Ed
+.Sh SEE ALSO
+.Xr BIO_new 3
diff --git a/lib/libcrypto/man/BIO_s_connect.3 b/lib/libcrypto/man/BIO_s_connect.3
index ee8fba41ab7..44ebb19a6c1 100644
--- a/lib/libcrypto/man/BIO_s_connect.3
+++ b/lib/libcrypto/man/BIO_s_connect.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_s_connect.3,v 1.4 2016/11/18 18:48:36 schwarze Exp $
+.\" $OpenBSD: BIO_s_connect.3,v 1.5 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 18 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_S_CONNECT 3
.Os
.Sh NAME
@@ -381,3 +381,5 @@ for(;;) {
BIO_free(cbio);
BIO_free(out);
.Ed
+.Sh SEE ALSO
+.Xr BIO_new 3
diff --git a/lib/libcrypto/man/BIO_s_fd.3 b/lib/libcrypto/man/BIO_s_fd.3
index e3a27421e1e..20b460ba960 100644
--- a/lib/libcrypto/man/BIO_s_fd.3
+++ b/lib/libcrypto/man/BIO_s_fd.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_s_fd.3,v 1.5 2016/11/18 18:49:44 schwarze Exp $
+.\" $OpenBSD: BIO_s_fd.3,v 1.6 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 18 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_S_FD 3
.Os
.Sh NAME
@@ -190,6 +190,7 @@ BIO_printf(out, "Hello World\en");
BIO_free(out);
.Ed
.Sh SEE ALSO
+.Xr BIO_new 3 ,
.Xr BIO_read 3 ,
.Xr BIO_s_socket 3 ,
.Xr BIO_seek 3
diff --git a/lib/libcrypto/man/BIO_s_file.3 b/lib/libcrypto/man/BIO_s_file.3
index a9a386ea8f8..323763d8380 100644
--- a/lib/libcrypto/man/BIO_s_file.3
+++ b/lib/libcrypto/man/BIO_s_file.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_s_file.3,v 1.4 2016/11/18 18:52:11 schwarze Exp $
+.\" $OpenBSD: BIO_s_file.3,v 1.5 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 18 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_S_FILE 3
.Os
.Sh NAME
@@ -282,6 +282,7 @@ BIO_printf(out, "Hello World\en");
BIO_free(out);
.Ed
.Sh SEE ALSO
+.Xr BIO_new 3 ,
.Xr BIO_read 3 ,
.Xr BIO_seek 3
.Sh BUGS
diff --git a/lib/libcrypto/man/BIO_s_mem.3 b/lib/libcrypto/man/BIO_s_mem.3
index 8a62d0314b0..bdbedc0f281 100644
--- a/lib/libcrypto/man/BIO_s_mem.3
+++ b/lib/libcrypto/man/BIO_s_mem.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_s_mem.3,v 1.4 2016/11/18 18:52:11 schwarze Exp $
+.\" $OpenBSD: BIO_s_mem.3,v 1.5 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 8711efb4 Mon Apr 20 11:33:12 2009 +0000
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 18 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_S_MEM 3
.Os
.Sh NAME
@@ -230,6 +230,8 @@ BIO_get_mem_ptr(mem, &bptr);
BIO_set_close(mem, BIO_NOCLOSE);
BIO_free(mem);
.Ed
+.Sh SEE ALSO
+.Xr BIO_new 3
.Sh BUGS
There should be an option to set the maximum size of a memory BIO.
.Pp
diff --git a/lib/libcrypto/man/BIO_s_null.3 b/lib/libcrypto/man/BIO_s_null.3
index f6e24c6f792..7e68b594dce 100644
--- a/lib/libcrypto/man/BIO_s_null.3
+++ b/lib/libcrypto/man/BIO_s_null.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_s_null.3,v 1.4 2016/11/18 18:52:11 schwarze Exp $
+.\" $OpenBSD: BIO_s_null.3,v 1.5 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL e117a890 Sep 14 12:14:41 2000 +0000
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 18 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_S_NULL 3
.Os
.Sh NAME
@@ -80,3 +80,5 @@ this can be achieved by adding a null sink BIO to the end of the chain.
.Sh RETURN VALUES
.Fn BIO_s_null
returns the null sink BIO method.
+.Sh SEE ALSO
+.Xr BIO_new 3
diff --git a/lib/libcrypto/man/BIO_s_socket.3 b/lib/libcrypto/man/BIO_s_socket.3
index aa5db3b5bbd..1fc7ce3dbcd 100644
--- a/lib/libcrypto/man/BIO_s_socket.3
+++ b/lib/libcrypto/man/BIO_s_socket.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_s_socket.3,v 1.5 2016/11/18 18:52:11 schwarze Exp $
+.\" $OpenBSD: BIO_s_socket.3,v 1.6 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL bbdc9c98 Oct 19 22:02:21 2000 +0000
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 18 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_S_SOCKET 3
.Os
.Sh NAME
@@ -105,4 +105,5 @@ returns the newly allocated BIO or
.Dv NULL
if an error occurred.
.Sh SEE ALSO
-.Xr BIO_get_fd 3
+.Xr BIO_get_fd 3 ,
+.Xr BIO_new 3
diff --git a/lib/libcrypto/man/BIO_set_callback.3 b/lib/libcrypto/man/BIO_set_callback.3
index 2a27d33428e..4209c0818ea 100644
--- a/lib/libcrypto/man/BIO_set_callback.3
+++ b/lib/libcrypto/man/BIO_set_callback.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_set_callback.3,v 1.4 2016/11/20 01:22:28 schwarze Exp $
+.\" $OpenBSD: BIO_set_callback.3,v 1.5 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 20 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_SET_CALLBACK 3
.Os
.Sh NAME
@@ -192,3 +192,5 @@ The
function is a good example.
Its source is in the file
.Pa crypto/bio/bio_cb.c .
+.Sh SEE ALSO
+.Xr BIO_new 3
diff --git a/lib/libcrypto/man/BIO_should_retry.3 b/lib/libcrypto/man/BIO_should_retry.3
index 6a272db62a1..601bb997a7c 100644
--- a/lib/libcrypto/man/BIO_should_retry.3
+++ b/lib/libcrypto/man/BIO_should_retry.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: BIO_should_retry.3,v 1.4 2016/11/20 01:39:11 schwarze Exp $
+.\" $OpenBSD: BIO_should_retry.3,v 1.5 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 60e24554 Apr 6 14:45:18 2010 +0000
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 20 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt BIO_SHOULD_RETRY 3
.Os
.Sh NAME
@@ -211,6 +211,9 @@ This is often not desirable: one solution is to use non-blocking I/O
and use a timeout on the
.Xr select 2
(or equivalent) call.
+.Sh SEE ALSO
+.Xr BIO_new 3 ,
+.Xr BIO_read 3
.Sh BUGS
The OpenSSL ASN.1 functions cannot gracefully deal with non-blocking I/O:
they cannot retry after a partial read or write.
diff --git a/lib/libcrypto/man/PEM_read_bio_PrivateKey.3 b/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
index 1209b71ce19..6d3ede45c22 100644
--- a/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
+++ b/lib/libcrypto/man/PEM_read_bio_PrivateKey.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: PEM_read_bio_PrivateKey.3,v 1.5 2016/11/29 07:29:52 jmc Exp $
+.\" $OpenBSD: PEM_read_bio_PrivateKey.3,v 1.6 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 29 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt PEM_READ_BIO_PRIVATEKEY 3
.Os
.Sh NAME
@@ -1201,6 +1201,8 @@ pass_cb(char *buf, int size, int rwflag, void *u)
return len;
}
.Ed
+.Sh SEE ALSO
+.Xr BIO_new 3
.Sh CAVEATS
A frequent cause of problems is attempting to use the PEM routines like
this:
diff --git a/lib/libcrypto/man/PEM_write_bio_PKCS7_stream.3 b/lib/libcrypto/man/PEM_write_bio_PKCS7_stream.3
index c98215cb7cf..d0173817dd6 100644
--- a/lib/libcrypto/man/PEM_write_bio_PKCS7_stream.3
+++ b/lib/libcrypto/man/PEM_write_bio_PKCS7_stream.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: PEM_write_bio_PKCS7_stream.3,v 1.4 2016/11/28 21:57:23 schwarze Exp $
+.\" $OpenBSD: PEM_write_bio_PKCS7_stream.3,v 1.5 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 28 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt PEM_WRITE_BIO_PKCS7_STREAM 3
.Os
.Sh NAME
@@ -77,6 +77,7 @@ supporting streaming.
.Fn PEM_write_bio_PKCS7_stream
returns 1 for success or 0 for failure.
.Sh SEE ALSO
+.Xr BIO_new 3 ,
.Xr ERR_get_error 3 ,
.Xr i2d_PKCS7_bio_stream 3 ,
.Xr PKCS7_decrypt 3 ,
diff --git a/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3 b/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
index 05a774ea1ee..eb9cf563d8a 100644
--- a/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
+++ b/lib/libcrypto/man/d2i_PKCS8PrivateKey_bio.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.3 2016/12/05 20:37:08 schwarze Exp $
+.\" $OpenBSD: d2i_PKCS8PrivateKey_bio.3,v 1.4 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 5 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt D2I_PKCS8PRIVATEKEY_BIO 3
.Os
.Sh NAME
@@ -143,4 +143,5 @@ memory BIOs, see
.Xr BIO_s_mem 3
for details.
.Sh SEE ALSO
+.Xr BIO_new 3 ,
.Xr PEM_read_PrivateKey 3
diff --git a/lib/libcrypto/man/i2d_PKCS7_bio_stream.3 b/lib/libcrypto/man/i2d_PKCS7_bio_stream.3
index 158ac44acd0..694b320e49f 100644
--- a/lib/libcrypto/man/i2d_PKCS7_bio_stream.3
+++ b/lib/libcrypto/man/i2d_PKCS7_bio_stream.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: i2d_PKCS7_bio_stream.3,v 1.3 2016/12/05 20:32:19 schwarze Exp $
+.\" $OpenBSD: i2d_PKCS7_bio_stream.3,v 1.4 2016/12/06 14:45:08 schwarze Exp $
.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 5 2016 $
+.Dd $Mdocdate: December 6 2016 $
.Dt I2D_PKCS7_BIO_STREAM 3
.Os
.Sh NAME
@@ -80,6 +80,7 @@ supporting streaming.
.Fn i2d_PKCS7_bio_stream
returns 1 for success or 0 for failure.
.Sh SEE ALSO
+.Xr BIO_new 3 ,
.Xr ERR_get_error 3 ,
.Xr PEM_write_bio_PKCS7_stream 3 ,
.Xr PKCS7_decrypt 3 ,