aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-01 11:32:50 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-01 11:32:50 +0100
commitc3bfcdf9a1c80b9ed27840f203cf3f14ef0bb113 (patch)
treee2b30b35becd10cf3738b51531e225634ec54254 /main.go
parent2f9ad411c7ed055646dc35c97ddae77c7bab2c16 (diff)
downloadbottin-c3bfcdf9a1c80b9ed27840f203cf3f14ef0bb113.tar.gz
bottin-c3bfcdf9a1c80b9ed27840f203cf3f14ef0bb113.zip
Fix password comparison
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2f9463c..fde10b2 100644
--- a/main.go
+++ b/main.go
@@ -5,6 +5,7 @@ package main
// @FIXME: Add an initial prefix to the consul key value
import (
+ "crypto/rand"
"crypto/tls"
"encoding/base64"
"encoding/json"
@@ -12,7 +13,6 @@ import (
"fmt"
"io/ioutil"
"log"
- "crypto/rand"
"os"
"os/signal"
"syscall"