diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/filters.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/filters.cc b/src/filters.cc index 7801a853..cf8e5019 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -130,9 +130,11 @@ namespace { { std::ostringstream buf; - for(int i = 0; i < 5 ; i++) + for(int i = 0; i < 5 ; i++) { + buf.width(8); + buf.fill('0'); buf << std::hex << message_digest[i]; - + } return buf.str(); } } |