mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-29 02:51:45 -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
|
@ -1601,11 +1601,19 @@ bool AuthSSL::ValidateCertificate(X509 *x509, std::string &peerId)
|
|||
}
|
||||
|
||||
/* store for discovery */
|
||||
//bool AuthSSL::FailedCertificate(X509 *x509, bool incoming)
|
||||
//{
|
||||
// std::string id;
|
||||
// return ProcessX509(x509, id);
|
||||
//}
|
||||
bool AuthSSL::FailedCertificate(X509 *x509, bool incoming)
|
||||
{
|
||||
//std::string id;
|
||||
//return ProcessX509(x509, id);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AuthSSL::CheckCertificate(std::string id, X509 *x509)
|
||||
{
|
||||
//std::string id;
|
||||
//return ProcessX509(x509, id);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AuthSSL::encrypt(void *&out, int &outlen, const void *in, int inlen, std::string peerId)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue