From 388c46e09c19aff9ef03fd53b0bca1dbe053dcbf Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Thu, 3 Mar 2022 23:48:43 +0000 Subject: [PATCH] Permanently DISABLE match_two_hashes() validate_hash() - excessive Signed-off-by: Richard T Bonhomme --- easytls | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/easytls b/easytls index df30958..219c9ef 100755 --- a/easytls +++ b/easytls @@ -1681,8 +1681,9 @@ validate_hash () match_two_hashes () { [ "${#}" -eq 2 ] || return 1 - validate_hash "${1}" || return 1 - validate_hash "${2}" || return 1 + # DISABLE: Always validate prior to this test + #validate_hash "${1}" || return 1 + #validate_hash "${2}" || return 1 [ "${1}" = "${2}" ] && return 0 # Check if either hash is fixed hash then ignore # Allows to switch between file-hash and file-hash-disabled mode