reflect region to which hexdump has been written (amends #458)
diff --git a/lib/picotls.c b/lib/picotls.c
index 29d737f..4878d68 100644
--- a/lib/picotls.c
+++ b/lib/picotls.c
@@ -6495,7 +6495,9 @@
     if (ptls_buffer_reserve(buf, l * 2 + 1) != 0)
         return 0;
 
-    buf->off = (uint8_t *)ptls_hexdump((char *)(buf->base + buf->off), s, l) - buf->base;
+    ptls_hexdump((char *)(buf->base + buf->off), s, l);
+    buf->off += l * 2;
+
     return 1;
 }