From 2128a14b41474147c6dcc6f69b86c1269abb5619 Mon Sep 17 00:00:00 2001 From: silenteh Date: Tue, 4 Aug 2015 16:14:47 +0200 Subject: [PATCH] Comment on constant - travis deps --- .travis.yml | 3 +++ totp.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e4514c0..38d2de0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,8 @@ language: go go: - 1.4 +install: + - go get "code.google.com/p/rsc/qr" + script: - go test -v ./... \ No newline at end of file diff --git a/totp.go b/totp.go index fe52c1c..9f2655f 100644 --- a/totp.go +++ b/totp.go @@ -23,7 +23,7 @@ import ( const ( BACKOFF_MINUTES = 5 // this is the time to wait before verifying another token MAX_FAILURES = 3 // total amount of failures, after that the user needs to wait for the backoff time - COUNTER_SIZE = 8 + COUNTER_SIZE = 8 // this is defined in the RFC 4226 ) type totp struct {