Skip to content

Commit

Permalink
Update src/engine.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Reynir Björnsson <[email protected]>
  • Loading branch information
hannesm and reynir authored Sep 27, 2024
1 parent 4025fb9 commit 4424c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.ml
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ let push_request tls =
let push_reply tls data =
(* a trailing 0 byte.. (String.make 1 '\000') *)
let repl =
String.concat "" [ Packet.push_reply; data; String.make 1 '\000' ]
String.concat "" [ Packet.push_reply; data; "\000" ]
in
Option.to_result
~none:(`Msg "Tls.send application data failed for push request")
Expand Down

0 comments on commit 4424c9b

Please sign in to comment.