summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/handshake.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/handshake.c b/lib/handshake.c
index cdc9558c8e..d12e80e676 100644
--- a/lib/handshake.c
+++ b/lib/handshake.c
@@ -1976,6 +1976,8 @@ int _gnutls_send_server_hello(gnutls_session_t session, int again)
const version_entry_st *vers;
gnutls_ext_flags_t ext_parse_flag;
+ _gnutls_buffer_init(&buf);
+
if (again == 0) {
vers = get_version(session);
if (unlikely(vers == NULL || session->security_parameters.cs == NULL))