diff options
Diffstat (limited to 'src/common/Cryptography/RSA.h')
-rw-r--r-- | src/common/Cryptography/RSA.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/Cryptography/RSA.h b/src/common/Cryptography/RSA.h index 9c8399d2fda..18771f14926 100644 --- a/src/common/Cryptography/RSA.h +++ b/src/common/Cryptography/RSA.h @@ -60,11 +60,12 @@ public: }; RsaSignature(); - RsaSignature(RsaSignature&& rsa) noexcept; + RsaSignature(RsaSignature const& other); + RsaSignature(RsaSignature&& other) noexcept; ~RsaSignature(); - RsaSignature(RsaSignature const& rsa) = delete; - RsaSignature& operator=(RsaSignature const& rsa) = delete; + RsaSignature& operator=(RsaSignature const& right); + RsaSignature& operator=(RsaSignature&& right) noexcept; bool LoadKeyFromFile(std::string const& fileName); |