aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_channel.h')
-rw-r--r--src/tls/tls_channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_channel.h b/src/tls/tls_channel.h
index 46dafc416..fc0595064 100644
--- a/src/tls/tls_channel.h
+++ b/src/tls/tls_channel.h
@@ -69,7 +69,7 @@ class BOTAN_DLL Channel
/**
* Attempt to send a heartbeat message (if negotiated with counterparty)
*/
- void heartbeat() { heartbeat(0, 0); }
+ void heartbeat() { heartbeat(nullptr, 0); }
/**
* @return certificate chain of the peer (may be empty)