URI: 
       tdnssec: trivial clean-up - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 60f8cf665eb167ae315645c849fee81596d455e8
   DIR parent 0e59bc1bc589222d00d53de3e2220ec06784a421
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Sun, 14 Oct 2018 04:23:42 +0200
       
       dnssec: trivial clean-up
       
       Diffstat:
         M electrum/dnssec.py                  |       4 +---
       
       1 file changed, 1 insertion(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum/dnssec.py b/electrum/dnssec.py
       t@@ -110,11 +110,9 @@ def python_validate_rrsig(rrset, rrsig, keys, origin=None, now=None):
                    if rrsig.algorithm == ECDSAP256SHA256:
                        curve = ecdsa.curves.NIST256p
                        key_len = 32
       -                digest_len = 32
                    elif rrsig.algorithm == ECDSAP384SHA384:
                        curve = ecdsa.curves.NIST384p
                        key_len = 48
       -                digest_len = 48
                    else:
                        # shouldn't happen
                        raise ValidationFailure('unknown ECDSA curve')
       t@@ -141,7 +139,7 @@ def python_validate_rrsig(rrset, rrsig, keys, origin=None, now=None):
                rrnamebuf = rrname.to_digestable(origin)
                rrfixed = struct.pack('!HHI', rdataset.rdtype, rdataset.rdclass,
                                      rrsig.original_ttl)
       -        rrlist = sorted(rdataset);
       +        rrlist = sorted(rdataset)
                for rr in rrlist:
                    hash.update(rrnamebuf)
                    hash.update(rrfixed)