From: Jason Barnett Date: Tue, 24 May 2016 19:50:02 +0000 (-0400) Subject: crypto/subtle: expand abbreviation to eliminate confusion X-Git-Tag: go1.7beta2~34 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6662897b2a3260393fff9dcf64faf3abfc773181;p=gostls13.git crypto/subtle: expand abbreviation to eliminate confusion Change-Id: I68d66fccf9cc8f7137c92b94820ce7d6f478a185 Reviewed-on: https://go-review.googlesource.com/23310 Reviewed-by: Ian Lance Taylor Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot --- diff --git a/src/crypto/subtle/constant_time.go b/src/crypto/subtle/constant_time.go index 6f80e7c58d..11312b8dd4 100644 --- a/src/crypto/subtle/constant_time.go +++ b/src/crypto/subtle/constant_time.go @@ -6,7 +6,7 @@ // code but require careful thought to use correctly. package subtle -// ConstantTimeCompare returns 1 iff the two slices, x +// ConstantTimeCompare returns 1 if and only if the two slices, x // and y, have equal contents. The time taken is a function of the length of // the slices and is independent of the contents. func ConstantTimeCompare(x, y []byte) int {