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
No related branches found
No related tags found
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 ...@@ -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; buf=((uint8_t *)buf) + copied;
} }
else { else {
lprintf(LOG_WARNING,"cryptPopData() returned %d", ret); if (status != CRYPT_ERROR_COMPLETE)
lprintf(LOG_WARNING,"cryptPopData() returned %d", ret);
if (total > 0) if (total > 0)
return total; return total;
do_js_close(p); do_js_close(p);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment