Skip to content

Commit 5ffcd08

Browse files
committed
Add missing local vars
1 parent 3152cdf commit 5ffcd08

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

testssl.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20310,6 +20310,7 @@ find_openssl_binary() {
2031020310
local openssl_location cwd=""
2031120311
local ossl_wo_dev_info
2031220312
local curve
20313+
local ossl_line1="" yr=""
2031320314
local -a curves_ossl=("sect163k1" "sect163r1" "sect163r2" "sect193r1" "sect193r2" "sect233k1" "sect233r1" "sect239k1" "sect283k1" "sect283r1" "sect409k1" "sect409r1" "sect571k1" "sect571r1" "secp160k1" "secp160r1" "secp160r2" "secp192k1" "prime192v1" "secp224k1" "secp224r1" "secp256k1" "prime256v1" "secp384r1" "secp521r1" "brainpoolP256r1" "brainpoolP384r1" "brainpoolP512r1" "X25519" "X448" "brainpoolP256r1tls13" "brainpoolP384r1tls13" "brainpoolP512r1tls13" "ffdhe2048" "ffdhe3072" "ffdhe4096" "ffdhe6144" "ffdhe8192")
2031420315

2031520316
# 0. check environment variable whether it's executable
@@ -21062,7 +21063,7 @@ EOF
2106221063
pr_bold "$bb3"
2106321064
outln "\n"
2106421065

21065-
# remove clock and dow if the first word if it is a dow and not a dom (suse)
21066+
# remove clock and dow if the first word is a dow and not a dom (suse)
2106621067
short_built_date=${OSSL_BUILD_DATE/??:??:?? /}
2106721068
if [[ ${short_built_date%% *} =~ [A-Za-z]{3} ]]; then
2106821069
short_built_date=${short_built_date#* }

0 commit comments

Comments
 (0)