Updated `peer_socket_ctx` initialization
Updated `peer_socket_ctx` initialization to match style used elsewhere in s2n.
@@ -804,9 +804,9 @@ int s2n_connection_set_read_fd(struct s2n_connection *conn, int rfd)
struct s2n_socket_read_io_context *peer_socket_ctx;
GUARD(s2n_alloc(&ctx_mem, sizeof(struct s2n_socket_read_io_context)));
+ GUARD(s2n_blob_zero(&ctx_mem));
peer_socket_ctx = (struct s2n_socket_read_io_context *)(void *)ctx_mem.data;
- *peer_socket_ctx = (struct s2n_socket_read_io_context){0};
peer_socket_ctx->fd = rfd;
s2n_connection_set_recv_cb(conn, s2n_socket_read);
