From 5d52df36299330b8295dde2dac4a4feac18381f1 Mon Sep 17 00:00:00 2001 From: Kamil Kisiel Date: Fri, 27 Mar 2015 08:31:06 -0700 Subject: Revert "A few more comments on decoding." This reverts commit a54a6f264e283c7afd37f9d7a772965e7a72408c. --- securecookie.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'securecookie.go') diff --git a/securecookie.go b/securecookie.go index a4e0770..99be197 100644 --- a/securecookie.go +++ b/securecookie.go @@ -183,9 +183,6 @@ func (s *SecureCookie) Decode(name, value string, dst interface{}) error { // setErr saves the error only if there was no previous error. // Otherwise retErr would be overwritten by subsequent errors. - // This is used so that a nearly-same codepath is taken on each - // decode to help reduce the possibility of timing attacks. - // See #15 for details. setErr := func(err error) { if retErr == nil { retErr = err -- cgit v1.2.3