diff --git a/ssl/tls_record.cc b/ssl/tls_record.cc index 73a8869c..83453eec 100644 --- a/ssl/tls_record.cc +++ b/ssl/tls_record.cc @@ -586,7 +586,7 @@ OpenRecordResult OpenRecord(SSL *ssl, Span *out, } Span plaintext; - uint8_t type; + uint8_t type = 0; const ssl_open_record_t result = tls_open_record( ssl, &type, &plaintext, out_record_len, out_alert, in);