aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssh-agent-filter.C10
1 files changed, 5 insertions, 5 deletions
diff --git a/ssh-agent-filter.C b/ssh-agent-filter.C
index b806a85..fbeb85f 100644
--- a/ssh-agent-filter.C
+++ b/ssh-agent-filter.C
@@ -245,16 +245,16 @@ void setup_filters () {
throw runtime_error{"unexpected answer from ssh-agent"};
rfc4251::uint32 const keycount{answer_iss};
for (uint32_t i = keycount; i; --i) {
- rfc4251::string key{answer_iss};
- rfc4251::string comment{answer_iss};
+ rfc4251::string key{answer_iss};
+ rfc4251::string const comment{answer_iss};
- auto b64 = base64_encode(key);
+ auto const b64 = base64_encode(key);
if (debug) clog << b64 << endl;
- auto md5 = md5_hex(key);
+ auto const md5 = md5_hex(key);
if (debug) clog << md5 << endl;
- string comm(comment);
+ string comm{comment};
if (debug) clog << comm << endl;
bool allow{false};