projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d6770a
)
Remove another stringstream from DecryptedKDM.
author
Carl Hetherington
<cth@carlh.net>
Thu, 11 Aug 2016 15:03:21 +0000
(16:03 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 11 Aug 2016 15:03:21 +0000
(16:03 +0100)
src/decrypted_kdm.cc
patch
|
blob
|
history
diff --git
a/src/decrypted_kdm.cc
b/src/decrypted_kdm.cc
index 38fc77cc6ddb8f35c777742af75989634b127bb8..ef6a6208fa35be2ef62b4091a48f61598fd0444f 100644
(file)
--- a/
src/decrypted_kdm.cc
+++ b/
src/decrypted_kdm.cc
@@
-299,15
+299,15
@@
DecryptedKDM::encrypt (shared_ptr<const CertificateChain> signer, Certificate re
char out[encrypted_len * 2];
Kumu::base64encode (encrypted, encrypted_len, out, encrypted_len * 2);
int const N = strlen (out);
-
locked_stringstream
lines;
+
string
lines;
for (int i = 0; i < N; ++i) {
if (i > 0 && (i % 64) == 0) {
- lines
<<
"\n";
+ lines
+=
"\n";
}
- lines
<<
out[i];
+ lines
+=
out[i];
}
- keys.push_back (lines
.str ()
);
+ keys.push_back (lines);
}
string device_list_description = recipient.subject_common_name ();