diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-17 16:33:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-17 16:33:43 +0100 |
| commit | 0e7591e3bf95d4abe08d854850b6fc4e411586b0 (patch) | |
| tree | e65ea79ca879d62051f46fae8686f71620a87d3e /src/util.cc | |
| parent | eaac013b4e68dea48fb2c3070b7c7ca59dfd1b96 (diff) | |
Various testing tweaks.
Diffstat (limited to 'src/util.cc')
| -rw-r--r-- | src/util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cc b/src/util.cc index e805f3eb..c9f50289 100644 --- a/src/util.cc +++ b/src/util.cc @@ -19,6 +19,7 @@ #include <stdexcept> #include <sstream> +#include <iostream> #include <iomanip> #include <openssl/sha.h> #include "KM_util.h" @@ -75,6 +76,5 @@ libdcp::make_digest (string filename) stringstream s; char digest[64]; - s << setfill('0') << setw(36) << Kumu::base64encode (byte_buffer, 20, digest, 64); - return s.str (); + return Kumu::base64encode (byte_buffer, 20, digest, 64); } |
