forked from wolfSSL/wolfssl
1. Add a newline to the client's "non-blocking socket and renegotiation" notice.
2. Add suite test cases for more renegotiation setting combinations.
This commit is contained in:
@@ -2849,7 +2849,7 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
|||||||
if (scr && forceScr) {
|
if (scr && forceScr) {
|
||||||
if (nonBlocking) {
|
if (nonBlocking) {
|
||||||
printf("not doing secure renegotiation on example with"
|
printf("not doing secure renegotiation on example with"
|
||||||
" nonblocking yet");
|
" nonblocking yet\n");
|
||||||
} else {
|
} else {
|
||||||
if (!resumeScr) {
|
if (!resumeScr) {
|
||||||
printf("Beginning secure rengotiation.\n");
|
printf("Beginning secure rengotiation.\n");
|
||||||
|
@@ -2378,3 +2378,63 @@
|
|||||||
-c ./certs/client-ecc384-cert.pem
|
-c ./certs/client-ecc384-cert.pem
|
||||||
-k ./certs/client-ecc384-key.pem
|
-k ./certs/client-ecc384-key.pem
|
||||||
-A ./certs/ca-ecc384-cert.pem
|
-A ./certs/ca-ecc384-cert.pem
|
||||||
|
|
||||||
|
# server TLSv1.2 default with secure renegotiation (renegotiation available)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-M
|
||||||
|
|
||||||
|
# client TLSv1.2 default with secure renegotiation (client initiated)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-i
|
||||||
|
|
||||||
|
# server TLSv1.2 default with secure renegotiation (renegotiation available)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-M
|
||||||
|
|
||||||
|
# client TLSv1.2 default with secure renegotiation (client initiated as resume)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-i -4
|
||||||
|
|
||||||
|
# server TLSv1.2 default with secure renegotiation (server initiated)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-m
|
||||||
|
|
||||||
|
# client TLSv1.2 default with secure renegotiation (renegotiation available)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-R
|
||||||
|
|
||||||
|
# server TLSv1.2 default with secure renegotiation (server initiated)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-m
|
||||||
|
|
||||||
|
# client TLSv1.2 default with secure renegotiation (renegotiation available as resume)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-R -4
|
||||||
|
|
||||||
|
# server TLSv1.2 default with secure renegotiation (server initiated)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-m
|
||||||
|
|
||||||
|
# client TLSv1.2 default with secure renegotiation (client initiated)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-i
|
||||||
|
|
||||||
|
# server TLSv1.2 default with secure renegotiation (server initiated)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-m
|
||||||
|
|
||||||
|
# client TLSv1.2 default with secure renegotiation (client initiated as resume)
|
||||||
|
-v 3
|
||||||
|
-l ECDHE-RSA-AES128-GCM-SHA256
|
||||||
|
-i -4
|
||||||
|
Reference in New Issue
Block a user