mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
improve TLS testing
This commit is contained in:
1 parent
f71b3b91c0
commit
317591bc8a
13 files changed
+23937
-66
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user