mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
Fix tls13_server tls13_send bug
This commit is contained in:
@@ -209,7 +209,7 @@ restart:
|
||||
}
|
||||
} while (!len);
|
||||
|
||||
if (tls13_send(&conn, (uint8_t *)buf, len, /* &sentlen*/ 0) != 1) {
|
||||
if (tls13_send(&conn, (uint8_t *)buf, len, &sentlen) != 1) {
|
||||
fprintf(stderr, "%s: send failure, close connection\n", prog);
|
||||
close(conn.sock);
|
||||
goto end;
|
||||
|
||||
Reference in New Issue
Block a user