summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/lib/libssl/buffer/buffertest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regress/lib/libssl/buffer/buffertest.c b/regress/lib/libssl/buffer/buffertest.c
index 7522d1f4f0b..e627865e35d 100644
--- a/regress/lib/libssl/buffer/buffertest.c
+++ b/regress/lib/libssl/buffer/buffertest.c
@@ -109,6 +109,7 @@ main(int argc, char **argv)
CBS cbs;
rs.buf = testdata;
+ rs.offset = 0;
if ((buf = tls13_buffer_new(0)) == NULL)
errx(1, "tls13_buffer_new");