Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Fix scoping issue with kex_exchange_init
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Claudius committed Aug 25, 2017
1 parent 3834e0e commit 27b977f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ssh_scan/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def get_kex_result(kex_init_raw = @kex_init_raw)
return nil
end

kex_exchange_init = nil

begin
Timeout::timeout(@timeout) {
@sock.write(kex_init_raw)
Expand Down

0 comments on commit 27b977f

Please sign in to comment.