~rcr/rirc

83f24e0bfd57541fdf7108da4f30a0d836c730ee — Richard Robbins 11 months ago d5fe539
bump mbedtls version
2 files changed, 4 insertions(+), 4 deletions(-)

M lib/mbedtls.Makefile
M src/io.c
M lib/mbedtls.Makefile => lib/mbedtls.Makefile +2 -2
@@ 1,5 1,5 @@
MBEDTLS_VER     := 3.0.0
MBEDTLS_VER_SHA := 525bfde06e024c1218047dee1c8b4c89312df1a4b5658711009086cda5dfaa55
MBEDTLS_VER     := 3.1.0
MBEDTLS_VER_SHA := b02df6f68dd1537e115a8497d5c173dc71edc55ad084756e57a30f951b725acd

MBEDTLS_CFG := $(abspath $(PATH_LIB)/mbedtls.h)
MBEDTLS_SHA := $(abspath $(PATH_LIB)/mbedtls.sha256)

M src/io.c => src/io.c +2 -2
@@ 612,7 612,7 @@ io_cx_read(struct connection *cx, uint32_t timeout)
	struct pollfd fd[1];
	unsigned char buf[1024];

	fd[0].fd = cx->net_ctx.MBEDTLS_PRIVATE(fd);
	fd[0].fd = cx->net_ctx.fd;
	fd[0].events = POLLIN;

	while ((ret = poll(fd, 1, timeout)) < 0 && errno == EAGAIN)


@@ 785,7 785,7 @@ io_net_connect(struct connection *cx)
err:
	freeaddrinfo(res);

	return (cx->net_ctx.MBEDTLS_PRIVATE(fd) = ret);
	return (cx->net_ctx.fd = ret);
}

static void