attempt to add SSL-only friends in FriendList - does not work yet

This commit is contained in:
csoler 2019-06-20 23:09:40 +02:00
parent 6114d97c36
commit e132ce7072
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
2 changed files with 30 additions and 2 deletions

View file

@ -295,7 +295,18 @@ bool p3Peers::getPeerDetails(const RsPeerId& id, RsPeerDetails &d)
/* get from gpg (first), to fill in the sign and trust details */
/* don't return now, we've got fill in the ssl and connection info */
getGPGDetails(ps.gpg_id, d);
if(!getGPGDetails(ps.gpg_id, d))
{
if(!ps.skip_pgp_signature_validation)
return false;
d.gpg_id = ps.gpg_id ;
d.skip_signature_validation = true;
}
else
d.skip_signature_validation = false;
d.isOnlyGPGdetail = false;
//get the ssl details