Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv26842/src/util

Modified Files:
        strutil.cpp 
Log Message:
fixed bug with encrypting passwords incorrectly (and not being able to decrypt them 
later)

Index: strutil.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/util/strutil.cpp,v
retrieving revision 1.126
retrieving revision 1.127
diff -b -u -2 -r1.126 -r1.127
--- strutil.cpp 16 Oct 2003 13:05:07 -0000      1.126
+++ strutil.cpp 21 Jan 2004 12:13:33 -0000      1.127
@@ -956,5 +956,5 @@
       // now we have the encrypted pair, which could be binary data,
       // so we write hex values instead:
-      tmpstr.Printf(_T("%02x%02x"), (wxChar)pair[0], (wxChar)pair[1]);
+      tmpstr.Printf(_T("%02x%02x"), (int)pair[0], (int)pair[1]);
       newstr << tmpstr;
       cptr ++;



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to