mirror of
https://github.com/miekg/dns.git
synced 2025-10-14 11:21:01 +02:00
Make it build
This commit is contained in:
parent
ca067eb038
commit
4810b60cda
@ -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()...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user