Skip to content
Snippets Groups Projects
Commit bc206d71 authored by PeiYong Zhang's avatar PeiYong Zhang
Browse files

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
parent d7f3cb4e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment