mirror of https://github.com/secdev/scapy.git
Add isCryptographyValid() docstring
This commit is contained in:
parent
e758a218ea
commit
7c5bcf3a92
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue