mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
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:
parent
919033fffd
commit
492962502f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue