mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-29 12:59:44 +01:00
Use locally scoped counter in hex2binary
This commit is contained in:
parent
b468071d72
commit
09ce15ebe9
@ -2066,7 +2066,7 @@ fi
|
||||
# key) or a text string (e.g., ASCII-encoded text).
|
||||
hex2binary() {
|
||||
local s="$1"
|
||||
local -i len remainder
|
||||
local -i i len remainder
|
||||
|
||||
len=${#s}
|
||||
[[ $len%2 -ne 0 ]] && return 1
|
||||
|
Loading…
Reference in New Issue
Block a user