summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s_client.c8
1 files changed, 1 insertions, 7 deletions
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;
}