Skip to content

Commit

Permalink
Merge pull request #17682 from JuliaLang/kf/dontzerousesshagent
Browse files Browse the repository at this point in the history
Don't zero `usesshagent`
  • Loading branch information
Keno authored Jul 29, 2016
2 parents 34ee4cb + 064a0e9 commit 905e2bd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions base/libgit2/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,6 @@ reset!(p::UserPasswordCredentials, cnt::Int=3) = (p.count = cnt)
function securezero!(cred::UserPasswordCredentials)
securezero!(cred.user)
securezero!(cred.pass)
securezero!(cred.usesshagent)
cred.count = 0
return cred
end
Expand All @@ -755,7 +754,6 @@ function securezero!(cred::SSHCredentials)
securezero!(cred.pass)
securezero!(cred.pubkey)
securezero!(cred.prvkey)
securezero!(cred.usesshagent)
return cred
end

Expand Down

0 comments on commit 905e2bd

Please sign in to comment.