aboutsummaryrefslogtreecommitdiffstats
path: root/src/security/digest/messageDigest.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2006-11-08 18:33:18 +0000
committerVincent Richard <[email protected]>2006-11-08 18:33:18 +0000
commitf99fc84915e4bcd2750b7fadfb24f858ccc7e5ef (patch)
treeb3c8fa78d8b145ff04aca8b17a4a74dbc348cd15 /src/security/digest/messageDigest.cpp
parentFixed compilation problem with GCC 3.3. (diff)
downloadvmime-f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef.tar.gz
vmime-f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef.zip
Imbue classic 'C' locale for the output of message parts and protocol commands.
Diffstat (limited to 'src/security/digest/messageDigest.cpp')
-rw-r--r--src/security/digest/messageDigest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/security/digest/messageDigest.cpp b/src/security/digest/messageDigest.cpp
index bba80023..4a2e8912 100644
--- a/src/security/digest/messageDigest.cpp
+++ b/src/security/digest/messageDigest.cpp
@@ -39,6 +39,7 @@ const string messageDigest::getHexDigest() const
static const unsigned char hex[] = "0123456789abcdef";
std::ostringstream oss;
+ oss.imbue(std::locale::classic());
for (int i = 0 ; i < len ; ++i)
{