mirror of https://github.com/wolfSSL/wolfssl.git
adds a call to wolfSSL_CTX_EnableOCSPStapling() on client.c to fix ocspstapling2 tests and removes unnecessary 'kill ' from the test scripts
parent
1bbe18bb8d
commit
43c234029b
|
@ -1872,6 +1872,9 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_CERTIFICATE_STATUS_REQUEST
|
#ifdef HAVE_CERTIFICATE_STATUS_REQUEST
|
||||||
if (statusRequest) {
|
if (statusRequest) {
|
||||||
|
if (wolfSSL_CTX_EnableOCSPStapling(ctx) != WOLFSSL_SUCCESS)
|
||||||
|
err_sys("can't enable OCSP Stapling Certificate Manager");
|
||||||
|
|
||||||
switch (statusRequest) {
|
switch (statusRequest) {
|
||||||
case WOLFSSL_CSR_OCSP:
|
case WOLFSSL_CSR_OCSP:
|
||||||
if (wolfSSL_UseOCSPStapling(ssl, WOLFSSL_CSR_OCSP,
|
if (wolfSSL_UseOCSPStapling(ssl, WOLFSSL_CSR_OCSP,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# ocsp-stapling.test
|
# ocsp-stapling.test
|
||||||
|
|
||||||
trap 'for i in `jobs -p`; do pkill -TERM -P $i; kill $i; done' EXIT
|
trap 'for i in `jobs -p`; do pkill -TERM -P $i; done' EXIT
|
||||||
|
|
||||||
server=login.live.com
|
server=login.live.com
|
||||||
ca=certs/external/baltimore-cybertrust-root.pem
|
ca=certs/external/baltimore-cybertrust-root.pem
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# ocsp-stapling.test
|
# ocsp-stapling.test
|
||||||
|
|
||||||
trap 'for i in `jobs -p`; do pkill -TERM -P $i; kill $i; done' EXIT
|
trap 'for i in `jobs -p`; do pkill -TERM -P $i; done' EXIT
|
||||||
|
|
||||||
server=login.live.com
|
server=login.live.com
|
||||||
ca=certs/external/baltimore-cybertrust-root.pem
|
ca=certs/external/baltimore-cybertrust-root.pem
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# ocsp-stapling.test
|
# ocsp-stapling.test
|
||||||
|
|
||||||
trap 'for i in `jobs -p`; do pkill -TERM -P $i; kill $i; done' EXIT
|
trap 'for i in `jobs -p`; do pkill -TERM -P $i; done' EXIT
|
||||||
|
|
||||||
[ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1
|
[ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue