mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-21 04:44:25 -04:00
don't send an empty gpg key in p3disc
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2100 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
28a1244a1b
commit
074671af29
1 changed files with 5 additions and 1 deletions
|
@ -367,7 +367,11 @@ void p3disc::sendPeerDetails(std::string to, std::string about) {
|
||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
di -> certGPG = AuthGPG::getAuthGPG()->SaveCertificateToString(about);
|
std::string cert = AuthGPG::getAuthGPG()->SaveCertificateToString(about);
|
||||||
|
if (cert == "") {
|
||||||
|
cert = "No Key";
|
||||||
|
}
|
||||||
|
di -> certGPG = cert;
|
||||||
|
|
||||||
// Send off message
|
// Send off message
|
||||||
#ifdef P3DISC_DEBUG
|
#ifdef P3DISC_DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue