Skip to content
Commit 423625d0 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

sftp: start splitting apart openconnectoin

it's way too large, way too complicated, way to repetitively concerned
with cleanup. fingerprinting is a fairly isolated bit, so split it into
a helper function. this also helps reduce the in-scope variables and in
turn makes it less likely that we forget to clean up something

also use scopeguards for cleanup in the new function. also to reduce
repetition and ensure cleanup
parent dab6ef10
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment