Fix the Makefile-less go version of dns

This commit is contained in:
Miek Gieben 2012-02-05 10:53:15 +01:00
parent 95242fa94b
commit 537b644ed2
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ func TestSignVerify(t *testing.T) {
sig := new(RR_RRSIG)
sig.Hdr = RR_Header{"miek.nl.", TypeRRSIG, ClassINET, 14400, 0}
sig.TypeCovered = soa.Hdr.Rrtype
sig.Labels, _ = IsDomainName(soa.Hdr.Name)
sig.Labels, _, _ = IsDomainName(soa.Hdr.Name)
sig.OrigTtl = soa.Hdr.Ttl
sig.Expiration = 1296534305 // date -u '+%s' -d"2011-02-01 04:25:05"
sig.Inception = 1293942305 // date -u '+%s' -d"2011-01-02 04:25:05"