From 450a6898f5062d461d5c0932182e3140c6f16d9e Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 17 Jul 2017 14:44:53 +0200 Subject: Remove double defined constants --- zsig/header.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'zsig/header.go') diff --git a/zsig/header.go b/zsig/header.go index aa1c13b..7bf87ed 100644 --- a/zsig/header.go +++ b/zsig/header.go @@ -18,11 +18,6 @@ type ZHeader struct { Sums [][]byte } -const ( - DefaultAlg = "SHA512/256" - DefaultBlockSize = 65536 -) - func (h ZHeader) Print(w io.Writer) error { fmt.Fprintf(w, "date=%v\n", h.Date.Format(time.RFC3339)) fmt.Fprintf(w, "key=%v\n", h.KeyFile) -- cgit v1.2.3