mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-14 09:29:30 -04:00
Fix number 2 for disconnections: Temporarily Disable Transmission of GPG Certificates in Discovery.
Certificate transmission will be disabled until we have worked out how to export Minimal Certs. * Disabled check for gpgcert text in p3disc. * Disabled creation of GPG Cert in AuthGPG. * Added extra error code to pqinetwork. This change will mean that friends of friends certificates will no-longer be shared if you have discovery on. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4821 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a7af95c0fd
commit
761bca8678
3 changed files with 17 additions and 2 deletions
|
@ -434,7 +434,12 @@ void AuthGPGimpl::processServices()
|
|||
#endif
|
||||
|
||||
/* save the certificate to string */
|
||||
#define DISABLE_CERTIFICATE_SEND 1
|
||||
#ifdef DISABLE_CERTIFICATE_SEND
|
||||
loadOrSave->m_certGpg = "";
|
||||
#else
|
||||
loadOrSave->m_certGpg = SaveCertificateToString(loadOrSave->m_certGpgId,true);
|
||||
#endif
|
||||
}
|
||||
|
||||
service->setGPGOperation(loadOrSave);
|
||||
|
|
|
@ -134,6 +134,10 @@ std::string socket_errorType(int err)
|
|||
{
|
||||
return std::string("EHOSTUNREACH");
|
||||
}
|
||||
else if (err == EADDRNOTAVAIL)
|
||||
{
|
||||
return std::string("EADDRNOTAVAIL");
|
||||
}
|
||||
//
|
||||
|
||||
return std::string("UNKNOWN ERROR CODE - ASK RS-DEVS TO ADD IT!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue