diff options
Diffstat (limited to 'Userland/Libraries/LibCrypto/Cipher/Mode/Mode.h')
-rw-r--r-- | Userland/Libraries/LibCrypto/Cipher/Mode/Mode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCrypto/Cipher/Mode/Mode.h b/Userland/Libraries/LibCrypto/Cipher/Mode/Mode.h index 50c39f9f0c..0daf56eac6 100644 --- a/Userland/Libraries/LibCrypto/Cipher/Mode/Mode.h +++ b/Userland/Libraries/LibCrypto/Cipher/Mode/Mode.h @@ -26,7 +26,7 @@ public: const T& cipher() const { return m_cipher; } - Optional<ByteBuffer> create_aligned_buffer(size_t input_size) const + ErrorOr<ByteBuffer> create_aligned_buffer(size_t input_size) const { size_t remainder = (input_size + T::block_size()) % T::block_size(); if (remainder == 0) |