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:
John Safranek
2019-02-21 10:06:55 -08:00
parent 7389553bd6
commit 39626bb349
2 changed files with 61 additions and 1 deletions

View File

@@ -2849,7 +2849,7 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
if (scr && forceScr) {
if (nonBlocking) {
printf("not doing secure renegotiation on example with"
" nonblocking yet");
" nonblocking yet\n");
} else {
if (!resumeScr) {
printf("Beginning secure rengotiation.\n");

View File

@@ -2378,3 +2378,63 @@
-c ./certs/client-ecc384-cert.pem
-k ./certs/client-ecc384-key.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