LibTLS + LibCrypto: Suppress unobserved Optoinal<T> return values.

This commit is contained in:
Brian Gianforcaro 2020-08-05 03:17:03 -07:00 committed by Andreas Kling
commit 9572c95152
Notes: sideshowbarker 2024-07-19 04:17:14 +09:00
3 changed files with 4 additions and 4 deletions

View file

@ -129,7 +129,7 @@ public:
virtual void decrypt(const ByteBuffer& in, ByteBuffer& out, Optional<ByteBuffer> ivec = {}) override
{
// XOR (and thus CTR) is the most symmetric mode.
this->encrypt(in, out, ivec);
(void)this->encrypt(in, out, ivec);
}
private: