summarylogtreecommitdiffstats
path: root/01-rename-testssl.patch
diff options
context:
space:
mode:
authorimlonghao2020-02-18 15:17:04 +0000
committerimlonghao2020-02-18 15:17:04 +0000
commit91721232819dca84f96e6925093b43b888182edf (patch)
tree7c02a049119cd22babe772ad67ac4098b469923c /01-rename-testssl.patch
downloadaur-91721232819dca84f96e6925093b43b888182edf.tar.gz
New package
Diffstat (limited to '01-rename-testssl.patch')
-rw-r--r--01-rename-testssl.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/01-rename-testssl.patch b/01-rename-testssl.patch
new file mode 100644
index 000000000000..f9b0ef45ae48
--- /dev/null
+++ b/01-rename-testssl.patch
@@ -0,0 +1,26 @@
+diff --git a/lib/DomainScanTestssl b/lib/DomainScanTestssl
+index 04bb1a0..609f11b 100644
+--- a/lib/DomainScanTestssl
++++ b/lib/DomainScanTestssl
+@@ -32,7 +32,7 @@ function DomainScanTestssl() {
+ local _testssl_desc="Test ssl protocols and ciphers:"
+ _testssl_desc+="https://testssl.sh/"
+
+- local _testssl_cmd="eval testssl.sh $TESTSSL_OPT \"$_host\""
++ local _testssl_cmd="eval testssl $TESTSSL_OPT \"$_host\""
+
+ _msg_args+=(\
+ "$_testssl_desc")
+diff --git a/src/__init__ b/src/__init__
+index 68029f8..96e5311 100644
+--- a/src/__init__
++++ b/src/__init__
+@@ -320,7 +320,7 @@ function __main__() {
+ # unnecessarily run.
+ readonly commands=(basename dirname stat ps date grep cut sed awk chown \
+ chmod mkdir curl openssl dig mmdblookup bc jq fmt \
+- testssl.sh observatory ssllabs-scan \
++ testssl observatory ssllabs-scan \
+ mixed-content-scan nmap wafw00f subfinder)
+
+ # If you intend to specify the full path to the command we do it like: