Files
crypto/ssh/agent
Alberto Donizetti db7d12313a ssh/agent: remove len check in Unlock
Unlock compares the length of the passphrase with the given one before
calling subtle.ConstantTimeCompare. This is redundant, since
ConstantTimeCompare already perform a lengths check before doing
anything. Remove the check from Unlock.

Updates golang/go#25173

Change-Id: Ib5fec3a94392bddf2996f5c6bf5a414529e86f2f
Reviewed-on: https://go-review.googlesource.com/110068
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Han-Wen Nienhuys <hanwen@google.com>
2018-04-30 11:26:54 +00:00
..
2017-09-15 13:46:28 +00:00
2018-04-23 11:01:33 +00:00
2016-07-06 16:40:51 +00:00