change grep message for RSA key size with tests
This commit is contained in:
parent
205088d1bc
commit
46c04cafd3
@ -158,7 +158,7 @@ if [ $? -eq 0 ]; then
|
||||
fi
|
||||
|
||||
# check if supported key size is large enough to handle 4096 bit RSA
|
||||
size=`./examples/client/client -? | grep "Max key"`
|
||||
size=`./examples/client/client -? | grep "Max RSA key"`
|
||||
size=`echo ${size//[^0-9]/}`
|
||||
if [ ! -z "$size" ]; then
|
||||
printf 'check on max key size of %d ...' $size
|
||||
|
@ -168,7 +168,7 @@ trap cleanup EXIT INT TERM HUP
|
||||
[ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1
|
||||
|
||||
# check if supported key size is large enough to handle 4096 bit RSA
|
||||
size=`./examples/client/client -? | grep "Max key"`
|
||||
size=`./examples/client/client -? | grep "Max RSA key"`
|
||||
size=`echo ${size//[^0-9]/}`
|
||||
if [ ! -z "$size" ]; then
|
||||
printf 'check on max key size of %d ...' $size
|
||||
|
Loading…
Reference in New Issue
Block a user