mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 13:55:25 +01:00 
			
		
		
		
	Merge pull request #1861 from vin01/3.1dev
Use locally scoped counter in hex2binary
This commit is contained in:
		| @@ -2066,7 +2066,7 @@ fi | |||||||
| # key) or a text string (e.g., ASCII-encoded text). | # key) or a text string (e.g., ASCII-encoded text). | ||||||
| hex2binary() { | hex2binary() { | ||||||
|      local s="$1" |      local s="$1" | ||||||
|      local -i len remainder |      local -i i len remainder | ||||||
| 
 | 
 | ||||||
|      len=${#s} |      len=${#s} | ||||||
|      [[ $len%2 -ne 0 ]] && return 1 |      [[ $len%2 -ne 0 ]] && return 1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter