sal/rtl/cipher.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 4bc05eb49c064dcc019c70e564d0d5edbef67124
Author: Heiko Becker <[email protected]>
AuthorDate: Sun Feb 4 01:31:55 2024 +0100
Commit: Miklos Vajna <[email protected]>
CommitDate: Mon Feb 5 09:01:40 2024 +0100
sal: Re-add missing includes
They were removed as unused in [1], but it turn out that's not entirely
accurate, at least if LIBO_CIPHER_OPENSSL_BACKEND is defined. assert(),
o3tl::..., std::numeric_limits<T> and std::memcpy are all used inside
that block.
[1] 2e71c439057c8d31b6af191ef38607600cb996f0
Change-Id: I2805dc4edf1d05bec5ec203772af73dd93da12bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162967
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <[email protected]>
diff --git a/sal/rtl/cipher.cxx b/sal/rtl/cipher.cxx
index a58c6eef7adc..98b566da61a8 100644
--- a/sal/rtl/cipher.cxx
+++ b/sal/rtl/cipher.cxx
@@ -25,6 +25,10 @@
#include <algorithm>
#if defined LIBO_CIPHER_OPENSSL_BACKEND
+#include <o3tl/safeint.hxx>
+#include <cassert>
+#include <cstring>
+#include <limits>
#include <openssl/evp.h>
#endif