summaryrefslogtreecommitdiffstats
path: root/apps/s_client.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-10-06 11:22:28 +0200
committerRichard Levitte <levitte@openssl.org>2016-11-15 10:45:21 +0100
commit6c62f9e1639a7d1a879f363a99882920104dfedb (patch)
treec3696f02ee053fc5bf9e2250b811973d5aaedd51 /apps/s_client.c
parent54c68d35c6b7e7650856beb949b45363ce40ca93 (diff)
Remove heartbeats completely
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1669)
Diffstat (limited to 'apps/s_client.c')
-rw-r--r--apps/s_client.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index cfd7cbd79d..1bcfe8e3dc 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -2448,13 +2448,6 @@ int s_client_main(int argc, char **argv)
SSL_renegotiate(con);
cbuf_len = 0;
}
-#ifndef OPENSSL_NO_HEARTBEATS
- else if ((!c_ign_eof) && (cbuf[0] == 'B' && cmdletters)) {
- BIO_printf(bio_err, "HEARTBEATING\n");
- SSL_heartbeat(con);
- cbuf_len = 0;
- }
-#endif
else {
cbuf_len = i;
cbuf_off = 0;