Page MenuHomePhabricator

D9562.diff
No OneTemporary

D9562.diff

diff --git a/native/cpp/CommonCpp/CryptoTools/CryptoModule.h b/native/cpp/CommonCpp/CryptoTools/CryptoModule.h
--- a/native/cpp/CommonCpp/CryptoTools/CryptoModule.h
+++ b/native/cpp/CommonCpp/CryptoTools/CryptoModule.h
@@ -34,6 +34,10 @@
CryptoModule(std::string id);
CryptoModule(std::string id, std::string secretKey, Persist persist);
+ // CryptoModule's accountBuffer cannot be safely copied
+ // See explanation in https://phab.comm.dev/D9562
+ CryptoModule(const CryptoModule &) = delete;
+
static Keys keysFromStrings(
const std::string &identityKeys,
const std::string &oneTimeKeys);

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 15, 10:53 PM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2495720
Default Alt Text
D9562.diff (621 B)

Event Timeline