summaryrefslogtreecommitdiffstats
path: root/scripts/external_libs/scapy-python3-0.18/scapy/crypto/__init__.py
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-03-21 12:55:16 +0200
committerHanoh Haim <hhaim@cisco.com>2016-03-21 12:55:16 +0200
commit1831e9bbc03484b078dbd604dfec0e025cea8eca (patch)
tree96ffe76ee50a29f8eea36ada1cc21738de09bcb7 /scripts/external_libs/scapy-python3-0.18/scapy/crypto/__init__.py
parent33c80d0f2c3af8b302e50ce3925869dfd37267ed (diff)
scapy 3-0.18 with trex client diff
Diffstat (limited to 'scripts/external_libs/scapy-python3-0.18/scapy/crypto/__init__.py')
-rw-r--r--scripts/external_libs/scapy-python3-0.18/scapy/crypto/__init__.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/external_libs/scapy-python3-0.18/scapy/crypto/__init__.py b/scripts/external_libs/scapy-python3-0.18/scapy/crypto/__init__.py
new file mode 100644
index 00000000..b441863e
--- /dev/null
+++ b/scripts/external_libs/scapy-python3-0.18/scapy/crypto/__init__.py
@@ -0,0 +1,17 @@
+## This file is part of Scapy
+## See http://www.secdev.org/projects/scapy for more informations
+## Copyright (C) Arnaud Ebalard <arno@natisbad.org>
+## This program is published under a GPLv2 license
+
+"""
+Tools for handling with digital certificates.
+"""
+
+try:
+ import Crypto
+except ImportError:
+ import logging
+ log_loading = logging.getLogger("scapy.loading")
+ log_loading.info("Can't import python Crypto lib. Disabled certificate manipulation tools")
+else:
+ from scapy.crypto.cert import *