diff options
author | Timo Weingärtner <timo@tiwe.de> | 2014-03-22 22:34:35 +0100 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2014-03-22 22:53:51 +0100 |
commit | f4343c2060ea70639dfc7c9a5eeb70f0b5ec5697 (patch) | |
tree | 7ba2ea661c281079f95bd5d7fc7d43c5e4ba49a2 /ssh-agent-filter.C | |
parent | ed9ca11a8dc24bed5f8e69e2a62169e7a484d8fb (diff) | |
download | ssh-agent-filter-f4343c2060ea70639dfc7c9a5eeb70f0b5ec5697.tar.gz |
tab align auth_data_ssh dissection for readability
Diffstat (limited to 'ssh-agent-filter.C')
-rw-r--r-- | ssh-agent-filter.C | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ssh-agent-filter.C b/ssh-agent-filter.C index 8ee6aaf..d1ccf2c 100644 --- a/ssh-agent-filter.C +++ b/ssh-agent-filter.C @@ -302,14 +302,14 @@ bool dissect_auth_data_ssh (rfc4251string const & data, std::string & request_de datastream.exceptions(std::ios::badbit | std::ios::failbit); // Format specified in RFC 4252 Section 7 - rfc4251string session_identifier; datastream >> session_identifier; - rfc4251byte requesttype; datastream >> requesttype; - rfc4251string username; datastream >> username; - rfc4251string servicename; datastream >> servicename; - rfc4251string publickeystring; datastream >> publickeystring; - rfc4251bool shouldbetrue; datastream >> shouldbetrue; - rfc4251string publickeyalgorithm; datastream >> publickeyalgorithm; - rfc4251string publickey; datastream >> publickey; + rfc4251string session_identifier; datastream >> session_identifier; + rfc4251byte requesttype; datastream >> requesttype; + rfc4251string username; datastream >> username; + rfc4251string servicename; datastream >> servicename; + rfc4251string publickeystring; datastream >> publickeystring; + rfc4251bool shouldbetrue; datastream >> shouldbetrue; + rfc4251string publickeyalgorithm; datastream >> publickeyalgorithm; + rfc4251string publickey; datastream >> publickey; request_description = "The request is for an ssh connection as user '" + std::string{username} + "' with service name '" + std::string{servicename} + "'."; |