]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
include/common_fwd: Include Crypto classes
authorMatan Breizman <mbreizma@redhat.com>
Mon, 9 Jun 2025 12:07:49 +0000 (12:07 +0000)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 26 Jan 2026 15:26:36 +0000 (10:26 -0500)
commit245fa03523fc7dcc6f8ed56cbf4e79688eef641a
tree80f76b4d677c285ed058b6ee7a783931e52dbbdc
parent707dcf586e4fea0f9bf9f3e10ca89c5bb1286f64
include/common_fwd: Include Crypto classes

CryptoManager::cct is now used in CephContext ctor. To provide this
defintion
any ceph_context.cc target must also include Crypto.cc.

crimson-alien-common library which only had ceph_context.cc must now
also include Crypto.cc.
However, the fact that crimson-common also includes Crypto.cc would
cause multiple defintions
to any Crypto classes methods.

To resolve this, let's wrap all Crypto classes with TOPNSPC::common that
would be forwarded using common_fwd logic.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/auth/Crypto.cc
src/auth/Crypto.h
src/crimson/os/alienstore/CMakeLists.txt
src/include/common_fwd.h