LibTLS: Implement a preliminary version of the TLS protocol

TLS::TLSv12 is a Core::Socket, however, I think splitting that into a
TLS::Socket would probably be beneficial
This commit is contained in:
AnotherTest 2020-04-29 19:26:52 +04:30 committed by Andreas Kling
commit 2247036acf
Notes: sideshowbarker 2024-07-19 07:05:06 +09:00
3 changed files with 63 additions and 1 deletions

View file

@ -119,6 +119,7 @@ namespace Cipher {
length -= block_size;
offset += block_size;
}
out.trim(offset);
this->prune_padding(out);
}
};