forked from wolfSSL/wolfssl
Merge pull request #5188 from kaleb-himes/PR5174-SUPPLEMENT
Supplement to @julek-wolfssl's fantastic find, just allow for proper expansion
This commit is contained in:
@ -234,7 +234,7 @@ if [ ! -f "$ready_file" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
# should fail if ocspstapling is also enabled
|
# should fail if ocspstapling is also enabled
|
||||||
OPENSSL_OUTPUT=$(echo "hi" | openssl s_client -status "$V4V6_FLAG" -connect "${LOCALHOST}:$port1" -cert ./certs/client-cert.pem -key ./certs/client-key.pem -CAfile ./certs/ocsp/root-ca-cert.pem 2>&1)
|
OPENSSL_OUTPUT=$(echo "hi" | openssl s_client -status $V4V6_FLAG -connect "${LOCALHOST}:$port1" -cert ./certs/client-cert.pem -key ./certs/client-key.pem -CAfile ./certs/ocsp/root-ca-cert.pem 2>&1)
|
||||||
OPENSSL_RESULT=$?
|
OPENSSL_RESULT=$?
|
||||||
echo "$OPENSSL_OUTPUT"
|
echo "$OPENSSL_OUTPUT"
|
||||||
fgrep -q 'self signed certificate in certificate chain' <<< "$OPENSSL_OUTPUT"
|
fgrep -q 'self signed certificate in certificate chain' <<< "$OPENSSL_OUTPUT"
|
||||||
|
Reference in New Issue
Block a user