From 709f7aed9c0f5aa427e78fbb243301441273684d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 30 Jul 2019 21:42:53 -0400 Subject: Revert "s_client: Enable secure renegotiation" This reverts commit 6cd7b5568ce306de755bc8fff3488feedf161901. It seems a call to either wolfSSL_Rehandshake() or wolfSSL_SecureResume() is necessary, as in wolfSSL's example client. --- diff --git a/src/s_client.c b/src/s_client.c index 1a1da34..37d59fb 100644 --- a/src/s_client.c +++ b/src/s_client.c @@ -349,13 +349,7 @@ s_client(int argc, char **argv) #ifdef HAVE_SUPPORTED_CURVES use_curves(ctx) == false || #endif - (ssl = wolfSSL_new(ctx)) == NULL || -#if defined(HAVE_SECURE_RENEGOTIATION) || \ - defined(HAVE_SERVER_RENEGOTIATION_INFO) - wolfSSL_UseSecureRenegotiation(ssl) != - WOLFSSL_SUCCESS || -#endif - false) { + (ssl = wolfSSL_new(ctx)) == NULL) { fputs("Out of memory\n", stderr); goto error; } -- cgit v0.9.1