improve TLS testing

This commit is contained in:
Sergio R. Caprile committed 2025-01-17 14:07:49 -03:00
1 parent f71b3b91c0
commit 317591bc8a
13 files changed
+23937 -66

No files matched your search

+1 -1
View File
@@ -486,7 +486,7 @@ static int mg_tls_recv_record(struct mg_connection *c) {
r = msgsz - 16 - 1;
tls->content_type = msg[msgsz - 16 - 1];
tls->recv_offset = (size_t) msg - (size_t) rio->buf;
tls->recv_len = msgsz - 16 - 1;
tls->recv_len = (size_t) msgsz - 16 - 1;
c->is_client ? tls->enc.sseq++ : tls->enc.cseq++;
return r;
}