From 5e890bd781d34b84d72fb385bc87e2112377c7d9 Mon Sep 17 00:00:00 2001
From: kytv <kytv@mail.i2p>
Date: Mon, 15 Dec 2014 15:18:19 +0000
Subject: [PATCH] checkremotecerts.sh: torify was recently deprecated and now
 is just an alias pointing to torsocks, so let's use torsocks directly

---
 tests/scripts/checkremotecerts.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/scripts/checkremotecerts.sh b/tests/scripts/checkremotecerts.sh
index 87e212f996..14d0d86272 100755
--- a/tests/scripts/checkremotecerts.sh
+++ b/tests/scripts/checkremotecerts.sh
@@ -21,10 +21,10 @@ check_for_prog() {
     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 --"
-    GNUTLS_BIN="torify gnutls-cli"
-    OPENSSL_BIN="torify openssl"
+    GNUTLS_BIN="torsocks gnutls-cli"
+    OPENSSL_BIN="torsocks openssl"
 else
     GNUTLS_BIN="gnutls-cli"
     OPENSSL_BIN="openssl"
-- 
GitLab