Make it build

This commit is contained in:
Miek Gieben 2012-04-18 12:55:48 +02:00
parent ca067eb038
commit 4810b60cda
1 changed files with 2 additions and 2 deletions

View File

@ -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()...)