1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:17:36 +00:00

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
parent 7eb72c72e8
commit 2247036acf
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);
}
};