diff options
author | nectar <nectar@FreeBSD.org> | 2004-03-17 16:15:46 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2004-03-17 16:15:46 +0000 |
commit | 58c7296bfa023884da79688437e69cf9f65e4c9c (patch) | |
tree | 6694b8e0ce1fcdcd702858af32a14363c265aff9 /secure/lib/libcrypto/man/BIO_f_base64.3 | |
parent | 15b921d6485d4da2f187ad751c9bb7ca208c31ad (diff) | |
download | FreeBSD-src-58c7296bfa023884da79688437e69cf9f65e4c9c.zip FreeBSD-src-58c7296bfa023884da79688437e69cf9f65e4c9c.tar.gz |
Update manual pages for OpenSSL 0.9.7d.
Diffstat (limited to 'secure/lib/libcrypto/man/BIO_f_base64.3')
-rw-r--r-- | secure/lib/libcrypto/man/BIO_f_base64.3 | 11 |
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 |