mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed compilation
This commit is contained in:
parent
fb52f6717c
commit
76cf64f8d5
@ -503,6 +503,9 @@ public:
|
|||||||
virtual bool getAssociatedSSLIds(const RsPgpId& gpg_id, std::list<RsPeerId>& ids) = 0;
|
virtual bool getAssociatedSSLIds(const RsPgpId& gpg_id, std::list<RsPeerId>& ids) = 0;
|
||||||
virtual bool gpgSignData(const void *data, const uint32_t len, unsigned char *sign, unsigned int *signlen, std::string reason = "") = 0;
|
virtual bool gpgSignData(const void *data, const uint32_t len, unsigned char *sign, unsigned int *signlen, std::string reason = "") = 0;
|
||||||
|
|
||||||
|
// Note: the two methods below could be unified. The fact that one of them can take an optional RsPeerDetails struct as parameter
|
||||||
|
// seems quite inconsistent.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Add trusted node
|
* @brief Add trusted node
|
||||||
* @jsonapi{development}
|
* @jsonapi{development}
|
||||||
@ -523,12 +526,13 @@ public:
|
|||||||
* SSL+PGP friend.
|
* SSL+PGP friend.
|
||||||
* @jsonapi{development}
|
* @jsonapi{development}
|
||||||
* @param[in] sslId SSL id of the node to add
|
* @param[in] sslId SSL id of the node to add
|
||||||
|
* @param[in] pgpId PGP id of the node to add. Will be used for validation when the key is available.
|
||||||
* @param[in] details Optional extra details known about the node to add
|
* @param[in] details Optional extra details known about the node to add
|
||||||
* @return false if error occurred, true otherwise
|
* @return false if error occurred, true otherwise
|
||||||
*/
|
*/
|
||||||
virtual bool addSslOnlyFriend(
|
virtual bool addSslOnlyFriend(
|
||||||
const RsPeerId& sslId,
|
const RsPeerId& sslId,
|
||||||
const RsPgpId& pgp_id,
|
const RsPgpId& pgpId,
|
||||||
const RsPeerDetails& details = RsPeerDetails() ) = 0;
|
const RsPeerDetails& details = RsPeerDetails() ) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user