mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-04 23:13:41 +01:00
Adapted changes as requested
Added some detail when required libraries are not present on the host and needs downloading
This commit is contained in:
parent
5fd2e95c4d
commit
717b9c0a13
6
cscan.sh
6
cscan.sh
@ -1,11 +1,13 @@
|
||||
#!/bin/bash
|
||||
pushd "$(dirname ${BASH_SOURCE[0]})" > /dev/null
|
||||
if [ ! -d ./tlslite ]; then
|
||||
git clone --depth=1 https://github.com/tomato42/tlslite-ng.git .tlslite-ng &>/dev/null
|
||||
echo -e "\ntlslite-ng not found, downloading..."
|
||||
git clone --depth=1 https://github.com/tomato42/tlslite-ng.git .tlslite-ng
|
||||
ln -s .tlslite-ng/tlslite tlslite
|
||||
fi
|
||||
if [ ! -d ./ecdsa ]; then
|
||||
git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa &>/dev/null
|
||||
echo -e "\npython-ecdsa not found, downloading..."
|
||||
git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa
|
||||
ln -s .python-ecdsa/src/ecdsa ecdsa
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user