Files
crypto/ssh
Péter Szilágyi 01be46f620 crypto/ssh: use net.IP.Equal instead of bytes.Equal
A net.IP may be represented by both by a 4 as well as a 16 byte long
byte slice. Because of this, it is not safe to compare IP addresses
using bytes.Equal as the same IP address using a different internal
representation will produce mismatches.

Change-Id: I0d228771cf363ccfb9532f8bc2a2fc8eff61f6e9
Reviewed-on: https://go-review.googlesource.com/34450
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-12-15 16:25:12 +00:00
..
2016-07-06 16:40:51 +00:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2016-07-06 16:40:51 +00:00
2014-04-09 13:57:52 -07:00
2015-05-14 18:39:32 +00:00
2014-04-09 13:57:52 -07:00
2016-07-06 16:40:51 +00:00