From 4810b60cda9268ec36fd6b27ffe8ffddcad28069 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Wed, 18 Apr 2012 12:55:48 +0200 Subject: [PATCH] Make it build --- dnssec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnssec.go b/dnssec.go index 130b46cb..23d8bb37 100644 --- a/dnssec.go +++ b/dnssec.go @@ -614,8 +614,8 @@ func curveToBuf(_X, _Y *big.Int) []byte { // Set the public key for X and Y for Curve. The two // values are just concatenated. func dsaToBuf(_Q, _P, _G, _Y *big.Int) []byte { - _T := (len(_G.Bytes()) - 64) / 8 - buf := []byte{_T} + t := byte((len(_G.Bytes()) - 64) / 8) + buf := []byte{t} buf = append(buf, _Q.Bytes()...) buf = append(buf, _P.Bytes()...) buf = append(buf, _G.Bytes()...)