summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-12-07 22:30:15 +0000
committertb <>2022-12-07 22:30:15 +0000
commit73183671d4b543adc49a79ea1adaa69bcb91c859 (patch)
treeb54fa49d1064908f0f9879ccfa1cd578cfad4414
parentf7449cef9827444a332531794d7642f52d347d50 (diff)
downloadopenbsd-73183671d4b543adc49a79ea1adaa69bcb91c859.tar.gz
openbsd-73183671d4b543adc49a79ea1adaa69bcb91c859.tar.bz2
openbsd-73183671d4b543adc49a79ea1adaa69bcb91c859.zip
Add references to the BIO_{push,pop}(3) example
The reader may not know what digest BIOs, Base64 BIOs and file BIOs are and the relevant function names are non-obvious, hence it's not entirely trivial to find the manuals where they are explained. With these references a reader should be able to turn the example into actual code. ok schwarze
-rw-r--r--src/lib/libcrypto/man/BIO_push.311
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/BIO_push.3 b/src/lib/libcrypto/man/BIO_push.3
index aa0c3115a9..d091c7ccca 100644
--- a/src/lib/libcrypto/man/BIO_push.3
+++ b/src/lib/libcrypto/man/BIO_push.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_push.3,v 1.9 2022/12/06 21:13:01 schwarze Exp $ 1.\" $OpenBSD: BIO_push.3,v 1.10 2022/12/07 22:30:15 tb Exp $
2.\" full merge up to: 2.\" full merge up to:
3.\" OpenSSL doc/man3/BIO_push.pod 791bfd91 Nov 19 20:38:27 2021 +0100 3.\" OpenSSL doc/man3/BIO_push.pod 791bfd91 Nov 19 20:38:27 2021 +0100
4.\" OpenSSL doc/man7/bio.pod 1cb7eff4 Sep 10 13:56:40 2019 +0100 4.\" OpenSSL doc/man7/bio.pod 1cb7eff4 Sep 10 13:56:40 2019 +0100
@@ -67,7 +67,7 @@
67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
68.\" OF THE POSSIBILITY OF SUCH DAMAGE. 68.\" OF THE POSSIBILITY OF SUCH DAMAGE.
69.\" 69.\"
70.Dd $Mdocdate: December 6 2022 $ 70.Dd $Mdocdate: December 7 2022 $
71.Dt BIO_PUSH 3 71.Dt BIO_PUSH 3
72.Os 72.Os
73.Sh NAME 73.Sh NAME
@@ -233,7 +233,12 @@ are digest BIOs,
233.Sy b64 233.Sy b64
234is a Base64 BIO and 234is a Base64 BIO and
235.Sy f 235.Sy f
236is a file BIO. 236is a file BIO (see
237.Xr BIO_f_md 3 ,
238.Xr BIO_f_base64 3 ,
239and
240.Xr BIO_s_file 3 ,
241respectively).
237.Pp 242.Pp
238If the call 243If the call
239.Pp 244.Pp