From 7c5bcf3a92de9606cfc99e11057589b06927ee8b Mon Sep 17 00:00:00 2001
From: mtu <maxence.tury@ssi.gouv.fr>
Date: Tue, 7 Feb 2017 11:02:10 +0100
Subject: [PATCH] Add isCryptographyValid() docstring

---
 scapy/config.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scapy/config.py b/scapy/config.py
index ffd0844b..6f1f9787 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:
-- 
GitLab