mark hex with 0x

This commit is contained in:
Marc Wäckerlin
2009-09-09 12:12:34 +00:00
parent ba6d0e0edf
commit 7d36acec5b

View File

@@ -57,7 +57,7 @@ namespace cryptoki {
inline std::string readable(const std::string& data) {
if (data.find_first_not_of(VALID_CHARS)<data.size())
return hex(data);
return "0x"+hex(data);
else
return data;
}