diff --git a/testssl.sh b/testssl.sh index 813e75b..6d53787 100755 --- a/testssl.sh +++ b/testssl.sh @@ -10238,10 +10238,7 @@ run_logjam() { len_dh_p="$((4*${#dh_p}))" debugme outln "len(dh_p): $len_dh_p | dh_p: $dh_p" echo "$dh_p" > $TEMPDIR/dh_p.txt - - DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - - if [[ ! -s "$DIR$common_primes_file" ]]; then + if [[ ! -s "$common_primes_file" ]]; then local_problem_ln "couldn't read common primes file $common_primes_file" out "${spaces}" fileout "LOGJAM_common primes" "WARN" "couldn't read common primes file $common_primes_file"