From 3956d410a1fce4fe3b02cd7c52d9717e29371f3b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 11 Aug 2016 16:03:21 +0100 Subject: Remove another stringstream from DecryptedKDM. --- src/decrypted_kdm.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/decrypted_kdm.cc b/src/decrypted_kdm.cc index 38fc77cc..ef6a6208 100644 --- a/src/decrypted_kdm.cc +++ b/src/decrypted_kdm.cc @@ -299,15 +299,15 @@ DecryptedKDM::encrypt (shared_ptr 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 (); -- cgit v1.2.3