summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/man/BIO_f_base64.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/BIO_f_base64.3')
-rw-r--r--secure/lib/libcrypto/man/BIO_f_base64.311
1 files changed, 5 insertions, 6 deletions
diff --git a/secure/lib/libcrypto/man/BIO_f_base64.3 b/secure/lib/libcrypto/man/BIO_f_base64.3
index c93a6b6..d111c44 100644
--- a/secure/lib/libcrypto/man/BIO_f_base64.3
+++ b/secure/lib/libcrypto/man/BIO_f_base64.3
@@ -1,5 +1,5 @@
.\" Automatically generated by Pod::Man version 1.15
-.\" Wed Feb 19 16:42:43 2003
+.\" Wed Mar 17 09:38:27 2004
.\"
.\" Standard preamble:
.\" ======================================================================
@@ -138,7 +138,7 @@
.\" ======================================================================
.\"
.IX Title "BIO_f_base64 3"
-.TH BIO_f_base64 3 "0.9.7a" "2003-02-19" "OpenSSL"
+.TH BIO_f_base64 3 "0.9.7d" "2004-03-17" "OpenSSL"
.UC
.SH "NAME"
BIO_f_base64 \- base64 \s-1BIO\s0 filter
@@ -195,18 +195,17 @@ to standard output:
Read Base64 encoded data from standard input and write the decoded
data to standard output:
.PP
-.Vb 4
-\& BIO *bio, *b64, bio_out;
+.Vb 3
+\& BIO *bio, *b64, *bio_out;
\& char inbuf[512];
\& int inlen;
-\& char message[] = "Hello World \en";
.Ve
.Vb 6
\& b64 = BIO_new(BIO_f_base64());
\& bio = BIO_new_fp(stdin, BIO_NOCLOSE);
\& bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
\& bio = BIO_push(b64, bio);
-\& while((inlen = BIO_read(bio, inbuf, strlen(message))) > 0)
+\& while((inlen = BIO_read(bio, inbuf, 512) > 0)
\& BIO_write(bio_out, inbuf, inlen);
.Ve
.Vb 1
OpenPOWER on IntegriCloud