This commit is contained in:
Max Goedjen
2020-03-22 22:39:45 -07:00
parent 5b4b2ae823
commit 29e3af24ab
2 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ extension Agent {
guard !data.isEmpty else { return }
let requestTypeInt = data[4]
guard let requestType = SSHAgent.RequestType(rawValue: requestTypeInt) else {
writer.write(SSHAgent.ResponseType.agentFailure.data)
writer.write(OpenSSHKeyWriter().lengthAndData(of: SSHAgent.ResponseType.agentFailure.data))
os_log(.debug, "Agent returned %@", SSHAgent.ResponseType.agentFailure.debugDescription)
return
}