mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-12-25 04:03:41 +01:00
Remove one unnecessary string-to-array-to-string from get_curve_name().
This commit is contained in:
parent
9ea1749f6c
commit
5c09af67fd
@ -324,8 +324,7 @@ get_curve_name() {
|
||||
for c in "${CURVES_MAP[@]}"; do
|
||||
if [[ "$c" =~ $identifier ]]; then
|
||||
verbose "$c matches identifier $identifier"
|
||||
local map=(${c// / })
|
||||
echo ${map[0]}
|
||||
echo "${c%% *}"
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user