Skip to content
Snippets Groups Projects
Commit b07112ba authored by deuce's avatar deuce
Browse files

Don't lot a warning when a TLS session completes normally.

parent e2ff5033
Branches
Tags
No related merge requests found
......@@ -134,7 +134,8 @@ static ptrdiff_t js_socket_recv(js_socket_private_t *p, void *buf, size_t len, i
buf=((uint8_t *)buf) + copied;
}
else {
lprintf(LOG_WARNING,"cryptPopData() returned %d", ret);
if (status != CRYPT_ERROR_COMPLETE)
lprintf(LOG_WARNING,"cryptPopData() returned %d", ret);
if (total > 0)
return total;
do_js_close(p);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment