mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 17:15:16 -04:00
Networking REWORK (cont)
AuthSSL / AuthGPG: Bits and pieces still need fixing up. AuthSSL will be rechecked later ;) * Mutex bug in authGPG (not very serious one). * removed _locked() suffix from functions (as they do the locking now). * added dummy FailedCertificate / CheckCertificate fns to AuthSSL * removed last bits of awful SSL_ex_data hack. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3213 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
69ba03dbd2
commit
e4e80778e4
4 changed files with 69 additions and 51 deletions
|
@ -176,11 +176,10 @@ virtual bool ValidateCertificate(X509 *x509, std::string &peerId); /* validate
|
|||
|
||||
public: /* SSL specific functions used in pqissl/pqissllistener */
|
||||
SSL_CTX *getCTX();
|
||||
static int ex_data_ctx_index; //used to pass the peer id in the ssl context
|
||||
|
||||
|
||||
//bool FailedCertificate(X509 *x509, bool incoming); /* store for discovery */
|
||||
//bool CheckCertificate(std::string peerId, X509 *x509); /* check that they are exact match */
|
||||
/* Restored these functions: */
|
||||
bool FailedCertificate(X509 *x509, bool incoming); /* store for discovery */
|
||||
bool CheckCertificate(std::string peerId, X509 *x509); /* check that they are exact match */
|
||||
|
||||
/* Special Config Loading (backwards compatibility) */
|
||||
//bool loadCertificates(bool &oldFormat, std::map<std::string, std::string> &keyValueMap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue