mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-22 22:33:40 +01:00
commit
1f7858cd6f
4
cscan.sh
4
cscan.sh
@ -1,12 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pushd "$(dirname ${BASH_SOURCE[0]})" > /dev/null
|
pushd "$(dirname ${BASH_SOURCE[0]})" > /dev/null
|
||||||
if [ ! -d ./tlslite ]; then
|
if [ ! -d ./tlslite ]; then
|
||||||
|
echo -e "\n${BASH_SOURCE[0]}: tlslite-ng not found, downloading..."
|
||||||
git clone --depth=1 https://github.com/tomato42/tlslite-ng.git .tlslite-ng
|
git clone --depth=1 https://github.com/tomato42/tlslite-ng.git .tlslite-ng
|
||||||
ln -s .tlslite-ng/tlslite tlslite
|
ln -s .tlslite-ng/tlslite tlslite
|
||||||
fi
|
fi
|
||||||
if [ ! -d ./ecdsa ]; then
|
if [ ! -d ./ecdsa ]; then
|
||||||
|
echo -e "\n${BASH_SOURCE[0]}: python-ecdsa not found, downloading..."
|
||||||
git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa
|
git clone --depth=1 https://github.com/warner/python-ecdsa.git .python-ecdsa
|
||||||
ln -s .python-ecdsa/ecdsa ecdsa
|
ln -s .python-ecdsa/src/ecdsa ecdsa
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# update the code if it is running in interactive terminal
|
# update the code if it is running in interactive terminal
|
||||||
|
Loading…
Reference in New Issue
Block a user