aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libtls/tls_writer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtls/tls_writer.h b/src/libtls/tls_writer.h
index e6522dbfb..d3f09d5da 100644
--- a/src/libtls/tls_writer.h
+++ b/src/libtls/tls_writer.h
@@ -66,14 +66,14 @@ struct tls_writer_t {
void (*write_data)(tls_writer_t *this, chunk_t value);
/**
- * Append a chunk of data with a 16-bit length header.
+ * Append a chunk of data with a 8-bit length header.
*
* @param value value to append
*/
void (*write_data8)(tls_writer_t *this, chunk_t value);
/**
- * Append a chunk of data with a 8-bit length header.
+ * Append a chunk of data with a 16-bit length header.
*
* @param value value to append
*/