sigtest.sh - check for version of ecdsautils
See if we have the older multi-binary-version or if there is the newer single binary.
This commit is contained in:
parent
7c12de7250
commit
1fb53d16a6
@ -27,9 +27,15 @@ awk "BEGIN { sep=0 }
|
|||||||
else print > \"$lower\"}" \
|
else print > \"$lower\"}" \
|
||||||
"$manifest"
|
"$manifest"
|
||||||
|
|
||||||
|
if [ -e '/usr/local/bin/ecdsautil' ]; then
|
||||||
|
ECMD='/usr/local/bin/ecdsautil verify'
|
||||||
|
elif [ -e '/usr/local/bin/ecdsasign' ]; then
|
||||||
|
ECMD='/usr/local/bin/ecdsaverify -s'
|
||||||
|
fi
|
||||||
|
|
||||||
while read line
|
while read line
|
||||||
do
|
do
|
||||||
if ecdsaverify -s "$line" -p "$public" "$upper"; then
|
if $ECMD "$line" -p "$public" "$upper"; then
|
||||||
ret=0
|
ret=0
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user