From bc206d7143994e8227f51b37adbcc2326d8ec16f Mon Sep 17 00:00:00 2001 From: PeiYong Zhang <peiyongz@apache.org> Date: Tue, 19 Mar 2002 17:01:20 +0000 Subject: [PATCH] Fix to Bug#7243 Base64 encoding is not working. git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@173582 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/util/Base64.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xercesc/util/Base64.cpp b/src/xercesc/util/Base64.cpp index 8462f2869..464f5c6e3 100644 --- a/src/xercesc/util/Base64.cpp +++ b/src/xercesc/util/Base64.cpp @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.4 2002/03/19 17:01:20 peiyongz + * Fix to Bug#7243 Base64 encoding is not working. + * * Revision 1.3 2002/02/18 16:07:38 peiyongz * fix: "i" redefined on line 428 reported by compilers on some UNIX platforms * @@ -210,6 +213,7 @@ XMLByte* Base64::encode(const XMLByte* const inputData, { // second octet not present // two PADs e.g. 3c== + encodedData[ outputIndex++ ] = base64Alphabet[ b2 ]; encodedData[ outputIndex++ ] = base64Padding; encodedData[ outputIndex++ ] = base64Padding; } -- GitLab