diff --git a/scripts/ocsp-stapling.test b/scripts/ocsp-stapling.test index 7d7b93cab..48e03fe95 100755 --- a/scripts/ocsp-stapling.test +++ b/scripts/ocsp-stapling.test @@ -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 diff --git a/scripts/ocsp-stapling2.test b/scripts/ocsp-stapling2.test index 7fa4b1092..0d7b37749 100755 --- a/scripts/ocsp-stapling2.test +++ b/scripts/ocsp-stapling2.test @@ -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