From f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 8 Nov 2006 18:33:18 +0000 Subject: Imbue classic 'C' locale for the output of message parts and protocol commands. --- src/security/digest/messageDigest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/security/digest/messageDigest.cpp') 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) { -- cgit v1.2.3