diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-22 09:20:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-22 09:20:58 +0100 |
| commit | 455475575bcfa30aa60a377235bfaf2fd7bc2da7 (patch) | |
| tree | 691c69e3e25722a4fa6ffe632179243907be8240 /src/certificate.cc | |
| parent | 1eb9ba017214698de3fd41de5291604b4fe839c5 (diff) | |
Use locked_sstream. Replace once parse_stream with parse_memory.
Diffstat (limited to 'src/certificate.cc')
| -rw-r--r-- | src/certificate.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/certificate.cc b/src/certificate.cc index 18249a58..34f79754 100644 --- a/src/certificate.cc +++ b/src/certificate.cc @@ -55,7 +55,6 @@ using std::list; using std::string; using std::ostream; using std::min; -using std::stringstream; using namespace dcp; static string const begin_certificate = "-----BEGIN CERTIFICATE-----"; @@ -104,7 +103,7 @@ Certificate::read_string (string cert) See http://comments.gmane.org/gmane.comp.encryption.openssl.user/55593 */ - stringstream s (cert); + locked_stringstream s (cert); string line; /* BEGIN */ |
