summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-30 21:42:53 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-30 23:10:59 (EDT)
commit709f7aed9c0f5aa427e78fbb243301441273684d (patch)
treefac11f3c44fad61b301555ab5bb26012c6746ade
parent6cd7b5568ce306de755bc8fff3488feedf161901 (diff)
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.
-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;
}