I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 5e890bd7 authored by kytv's avatar kytv
Browse files

checkremotecerts.sh: torify was recently deprecated and now is just an alias pointing to

torsocks, so let's use torsocks directly
parent 20facf78
No related branches found
No related tags found
No related merge requests found
...@@ -21,10 +21,10 @@ check_for_prog() { ...@@ -21,10 +21,10 @@ check_for_prog() {
fi fi
} }
if pidof /usr/bin/tor > /dev/null 2>&1 && check_for_prog torify; then if pidof /usr/bin/tor > /dev/null 2>&1 && check_for_prog torsocks; then
echo "-- Detected Tor, will try using it --" echo "-- Detected Tor, will try using it --"
GNUTLS_BIN="torify gnutls-cli" GNUTLS_BIN="torsocks gnutls-cli"
OPENSSL_BIN="torify openssl" OPENSSL_BIN="torsocks openssl"
else else
GNUTLS_BIN="gnutls-cli" GNUTLS_BIN="gnutls-cli"
OPENSSL_BIN="openssl" OPENSSL_BIN="openssl"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment