Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3246325
D9562.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
621 B
Referenced Files
None
Subscribers
None
D9562.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9562: [native] Disable CryptoModule copy construction
Attached
Detach File
Event Timeline
Log In to Comment