corrected path to common_primes_file in logjam

This commit is contained in:
AlGreed 2017-02-04 01:38:18 +01:00
parent 513cbf0d65
commit 8457c1ce9e
1 changed files with 4 additions and 1 deletions

View File

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