]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Set _have_ecpy=False if pycryptodome isn't found. 425/head
authorBrian Wellington <bwelling@xbill.org>
Tue, 17 Mar 2020 00:42:49 +0000 (17:42 -0700)
committerBrian Wellington <bwelling@xbill.org>
Tue, 17 Mar 2020 00:42:49 +0000 (17:42 -0700)
dns/dnssec.py

index a6686692aae840aae572c38319f58e6fd9ad95b6..69c266d9b992e655fc69a895d9b36f33efa11fe0 100644 (file)
@@ -538,6 +538,7 @@ except ImportError:
     validate = _need_pycrypto
     validate_rrsig = _need_pycrypto
     _have_pycrypto = False
+    _have_ecpy = False
 else:
     validate = _validate
     validate_rrsig = _validate_rrsig