commit 96ac81d45ba535705abe5d169d6c833a17326f5e
parent 1d6eeec83217c844e0dc3b723e640fff551786d4
Author: parazyd <parazyd@dyne.org>
Date: Thu, 7 Dec 2017 18:12:20 +0100
make consts out of vars in dam.go
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/go/dam/dam.go b/go/dam/dam.go
@@ -14,13 +14,13 @@ import (
)
// Bits hold the size of our RSA private key. Tor standard is 1024.
-var Bits = 1024
+const Bits = 1024
// Privpath holds the path of where our private key is.
-var Privpath = "private.key"
+const Privpath = "private.key"
// Pubpath holds the path of where our public key is.
-var Pubpath = "public.key"
+const Pubpath = "public.key"
func main() {
if _, err := os.Stat("private.key"); os.IsNotExist(err) {