diff --git a/scapy/config.py b/scapy/config.py index ffd0844b6f069b8504de466ce09f38ff29693bbc..6f1f9787569350b1842f3d77f3d1f650d0d034da 100755 --- a/scapy/config.py +++ b/scapy/config.py @@ -280,6 +280,10 @@ class LogLevel(object): def isCryptographyValid(): + """ + Check if the cryptography library is present, and if it is recent enough + (v1.7 or later). + """ try: import cryptography except ImportError: