Skip to content

Commit

Permalink
resource: hasTor check
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Tyneway committed Nov 1, 2019
1 parent 120f1d8 commit ba4dcfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dns/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -1203,13 +1203,13 @@ class Resource extends Struct {
case types.A:
res.answer = this.toA(name);
key.signZSK(res.answer, types.A);
if (this.hasTOR())
if (this.hasTor())
key.signZSK(res.answer, types.TXT);
break;
case types.AAAA:
res.answer = this.toAAAA(name);
key.signZSK(res.answer, types.AAAA);
if (this.hasTOR())
if (this.hasTor())
key.signZSK(res.answer, types.TXT);
break;
case types.CNAME:
Expand Down

0 comments on commit ba4dcfb

Please sign in to comment.