mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-09 22:05:43 -05:00
separated RsTlvSecurityKey into two incompatible classes to enforce the correct usage of private vs. public keys
This commit is contained in:
parent
cbef01451c
commit
590be092e5
26 changed files with 600 additions and 351 deletions
|
|
@ -58,7 +58,7 @@ void randString(const uint32_t, std::wstring&);
|
|||
|
||||
/* for testing compound tlv items */
|
||||
|
||||
void init_item(RsTlvSecurityKey&);
|
||||
void init_item(RsTlvSecurityKey_deprecated&);
|
||||
void init_item(RsTlvSecurityKeySet&);
|
||||
void init_item(RsTlvKeySignature&);
|
||||
void init_item(RsTlvKeySignatureSet&);
|
||||
|
|
@ -70,7 +70,7 @@ void init_item(RsTlvPeerIdSet&);
|
|||
void init_item(RsTlvImage&);
|
||||
void init_item(RsTlvPeerIdSet&);
|
||||
|
||||
bool operator==(const RsTlvSecurityKey&, const RsTlvSecurityKey& );
|
||||
bool operator==(const RsTlvSecurityKey_deprecated&, const RsTlvSecurityKey_deprecated& );
|
||||
bool operator==(const RsTlvSecurityKeySet&, const RsTlvSecurityKeySet& );
|
||||
bool operator==(const RsTlvKeySignature&, const RsTlvKeySignature& );
|
||||
bool operator==(const RsTlvBinaryData&, const RsTlvBinaryData&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue