-.\" $OpenBSD: BIO_f_base64.3,v 1.11 2019/06/06 01:06:58 schwarze Exp $
+.\" $OpenBSD: BIO_f_base64.3,v 1.12 2022/12/07 17:17:29 tb Exp $
.\" OpenSSL fc1d88f0 Wed Jul 2 22:42:40 2014 -0400
.\"
.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 6 2019 $
+.Dd $Mdocdate: December 7 2022 $
.Dt BIO_F_BASE64 3
.Os
.Sh NAME
.Fn BIO_f_base64
returns the base64 BIO method.
.Sh EXAMPLES
-Base64 encode the string "Hello World\en"
+Base64 encode the string "hello, world\en"
and write the result to standard output:
.Bd -literal -offset indent
BIO *bio, *b64;
-char message[] = "Hello World \en";
+char message[] = "hello, world\en";
b64 = BIO_new(BIO_f_base64());
bio = BIO_new_fp(stdout, BIO_NOCLOSE);