Skip to content

Commit cbab478

Browse files
committed
Make Lwt_ssl -safe-string-compatible
1 parent 5f129b2 commit cbab478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lwt_ssl.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ val ssl_perform_handshake : uninitialized_socket -> socket Lwt.t
5858
val ssl_accept_handshake : uninitialized_socket -> socket Lwt.t
5959
(** Await a SSL/TLS handshake on the specified socket (used by servers). *)
6060

61-
val read : socket -> string -> int -> int -> int Lwt.t
62-
val write : socket -> string -> int -> int -> int Lwt.t
61+
val read : socket -> bytes -> int -> int -> int Lwt.t
62+
val write : socket -> bytes -> int -> int -> int Lwt.t
6363

6464
val read_bytes : socket -> Lwt_bytes.t -> int -> int -> int Lwt.t
6565
val write_bytes : socket -> Lwt_bytes.t -> int -> int -> int Lwt.t

0 commit comments

Comments
 (0)