fix for travis complaint

This commit is contained in:
Pierre Carrier 2014-02-26 20:12:10 -08:00
parent 2bab16649c
commit bc0fc1991e

View File

@ -30,9 +30,8 @@ func normalizeSecret(sec string) string {
padLength := 8 - (len(noPadding) % 8)
if padLength < 8 {
return noPadding + strings.Repeat("=", padLength)
} else {
return noPadding
}
return noPadding
}
func AuthCode(sec string, ts int64) (string, error) {