LibCrypto: Make create_aligned_buffer() static

I ended up not needing this, but there's no reason for this function
to not be static.
This commit is contained in:
Nico Weber 2023-07-17 20:39:12 -04:00 committed by Linus Groh
parent 919033fffd
commit 492962502f

View file

@ -24,7 +24,7 @@ public:
T const& cipher() const { return m_cipher; }
ErrorOr<ByteBuffer> create_aligned_buffer(size_t input_size) const
static ErrorOr<ByteBuffer> create_aligned_buffer(size_t input_size)
{
size_t remainder = (input_size + T::block_size()) % T::block_size();
if (remainder == 0)