]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async/crypto_onwire: include cleanup
authorMax Kellermann <max.kellermann@ionos.com>
Fri, 25 Oct 2024 11:16:02 +0000 (13:16 +0200)
committerMax Kellermann <max.kellermann@ionos.com>
Wed, 19 Feb 2025 07:46:23 +0000 (08:46 +0100)
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
src/msg/async/crypto_onwire.cc
src/msg/async/crypto_onwire.h

index 615820b35ba3015180d16c7c82b83ffbdac79a31..b0963eab979907a950bb4b527b260b5353be8cf0 100644 (file)
@@ -1,15 +1,17 @@
 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
 // vim: ts=8 sw=2 smarttab
 
-#include <array>
-#include <openssl/evp.h>
-
 #include "crypto_onwire.h"
-
 #include "common/debug.h"
 #include "common/ceph_crypto.h"
+#include "include/buffer.h"
 #include "include/types.h"
 
+#include <openssl/evp.h>
+
+#include <array>
+#include <numeric> // for std::accumulate()
+
 #define dout_subsys ceph_subsys_ms
 
 namespace ceph::crypto::onwire {
index 55f7550868fbeca48b8938b7d9b1529f849e33de..4dc58e73deaf6e4226193b1cc6d66c22119640d6 100644 (file)
 
 #include <cstdint>
 #include <memory>
+#include <stdexcept>
 
 #include "auth/Auth.h"
-#include "include/buffer.h"
+#include "include/buffer_fwd.h"
 
 namespace ceph::math {