diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-11 20:16:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-19 01:07:10 +0200 |
| commit | bab933aec3016bf9f7b1d2fcc09e7b0a50d107d0 (patch) | |
| tree | 47ed5922ac7f70fcbd27768b806e2bb78244532c | |
| parent | 848588736fd26b7325d5771b0f8bc13e725b4770 (diff) | |
Fix build with some older boosts.
| -rw-r--r-- | src/lib/kdm_cli.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/kdm_cli.cc b/src/lib/kdm_cli.cc index ea6353ff6..7ea318dd6 100644 --- a/src/lib/kdm_cli.cc +++ b/src/lib/kdm_cli.cc @@ -445,7 +445,8 @@ void dump_decryption_certificate(std::function<void (string)> out) { vector<string> lines; - boost::split(lines, Config::instance()->decryption_chain()->leaf().certificate(true), boost::is_any_of("\n")); + auto certificate = Config::instance()->decryption_chain()->leaf().certificate(true); + boost::split(lines, certificate, boost::is_any_of("\n")); for (auto const& line: lines) { out(line); } |
