diff --git a/src/lib/pubkey/hybrid_kem/hybrid_kem.h b/src/lib/pubkey/hybrid_kem/hybrid_kem.h index b7b3c81c93d..e0d5eadf1dd 100644 --- a/src/lib/pubkey/hybrid_kem/hybrid_kem.h +++ b/src/lib/pubkey/hybrid_kem/hybrid_kem.h @@ -90,6 +90,14 @@ BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE */ class BOTAN_TEST_API Hybrid_PrivateKey : virtual public Private_Key { public: + Hybrid_PrivateKey(const Hybrid_PrivateKey&) = delete; + Hybrid_PrivateKey& operator=(const Hybrid_PrivateKey&) = delete; + + Hybrid_PrivateKey(Hybrid_PrivateKey&&) = default; + Hybrid_PrivateKey& operator=(Hybrid_PrivateKey&&) = default; + + ~Hybrid_PrivateKey() override = default; + /** * @brief Constructor for a list of multiple KEM private keys. *