Mario-Klebsch

Results 5 comments of Mario-Klebsch

Wow, this seems to be a f*cking windows bug. :-( Also happens when using the native API: ``` WSADATA wsaData; int err = WSAStartup(MAKEWORD(2, 2), &wsaData); if (err) { fprintf(stderr,...

Hi @mabrarov, > What happens if you perform shutdown(boost::asio::ip::tcp::socket::shutdown_send...) in the client after receiving response? It doesn't change anything, if I shutdown the sender after receiving the first bytes of...

> this isn't supported. When static linking is not supported, configure should not offer this option. > Why are you interested in static linking? I don't want to use dynamic...

> > Dynamic linking introduces new failure modes, > > I'm not sure what those are, but OK. * failure to find a shared lib * picking a wrong shared...

I wrote a test case to test for this problem: ``` TEST(mbedtls_x509_crt, bug_4894) { mbedtls_x509_crt cert; mbedtls_x509_crt_init(&cert); char buffer[2048]; int ret = mbedtls_x509_crt_info(buffer, sizeof(buffer), "", &cert); ASSERT_LT(strlen(buffer), 1024u); ASSERT_NE(ret, MBEDTLS_ERR_X509_BUFFER_TOO_SMALL);...