[Ace-users] [ace-bugs] ACE_Base64: wrong result of base 64 encoding
alick_nie at 163.com
Thu Dec 13 22:17:59 CST 2007
ACE VERSION: 5.6
HOST MACHINE and OPERATING SYSTEM:
If on Windows based OS's, which version of WINSOCK do you
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
COMPILER NAME AND VERSION (AND PATCHLEVEL):
THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
specific file, simply state which one]:
#define ACE_HAS_STANDARD_CPP_LIBRARY 1
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
use a link to a platform-specific file, simply state which one
(unless this isn't used in this case, e.g., with Microsoft Visual
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):
[What example failed? What module failed to compile?]
DOES THE PROBLEM AFFECT:
On Unix systems, did you run make realclean first?
OTHER (please specify)?
[Please indicate whether ACE, your application, or both are affected.]
[Brief description of the problem]
I have encounter a problem when using ACE_Base64 encode method.
[Detailed description of problem. Don't just say "<blah>
doesn't work, here's a fix," explain what your program does
to get to the <blah> state. ]
For exameple, when "abcdfgi" is encoded under base 64 algorithm, the result should be "YWJjZGZnaQ==".
But the result, which ACE_base64 returns, add a "\n" to the end of "YWJjZGZnaQ==".
[What you did to get the error; include test program or session
transcript if at all possible. ]
[If available ]
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ace-users