mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 00:25:16 -04:00
NETWORK REWORK (cont)
Rework of AuthSSL: cleanup and split up. * Split out independent SSL functions into sslfns.h / sslfns.cc * Reworked SSL certificate storage. * Reworked SignDataBin / VerifyDataBin (fixed memory leaks). * Removed funny code: /* cert->cert_info->key->pkey is NULL */ - just use X509_get_pubkey() instead. * Removed lots of old code. * Fixed up Mutex usage in AuthSSL - which was random. * Removed certificates from tlvSignature serialiser obj. * removed certificates from p3distrib messages. * Starting removing "unused parameter" compiler warnings. * Various related changes to make libretroshare compile. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3222 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
545a465735
commit
863a29fda1
17 changed files with 1522 additions and 1613 deletions
|
@ -55,17 +55,17 @@ class DHTClientDummy: public DHTClient
|
|||
public:
|
||||
|
||||
/* initialise from file */
|
||||
virtual bool checkServerFile(std::string filename) { return false; }
|
||||
virtual bool loadServers(std::string filename) { return true; }
|
||||
virtual bool loadServersFromWeb(std::string storename) { return true; }
|
||||
virtual bool checkServerFile(std::string) { return true; }
|
||||
virtual bool loadServers(std::string) { return true; }
|
||||
virtual bool loadServersFromWeb(std::string) { return true; }
|
||||
virtual bool loadServers(std::istream&) { return true; }
|
||||
|
||||
/* check that its working */
|
||||
virtual bool dhtActive() { return true; }
|
||||
|
||||
/* publish / search */
|
||||
virtual bool publishKey(std::string key, std::string value, uint32_t ttl) { return true; }
|
||||
virtual bool searchKey(std::string key, std::list<std::string> &values) { return true; }
|
||||
virtual bool publishKey(std::string, std::string, uint32_t) { return true; }
|
||||
virtual bool searchKey(std::string, std::list<std::string> &) { return true; }
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue