Fix the test

This commit is contained in:
Miek Gieben 2012-01-08 15:56:53 +01:00
parent cd266d5f0f
commit 6e5d3005d6
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,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 = Labels(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"