This commit is contained in:
Miek Gieben 2012-01-20 12:24:20 +01:00
parent 509912d4c4
commit 5917838cbb
9 changed files with 59 additions and 59 deletions

View File

@ -411,7 +411,7 @@ func (k *RR_DNSKEY) pubKeyCurve() *ecdsa.PublicKey {
case ECDSAP384SHA384:
c = elliptic.P384()
}
x, y := elliptic.Unmarshal(c,keybuf)
x, y := elliptic.Unmarshal(c, keybuf)
pubkey := new(ecdsa.PublicKey)
pubkey.X = x
pubkey.Y = y