mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
add a gpg debug output
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2031 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
37cf2e98a2
commit
a38799a98e
@ -651,7 +651,9 @@ void print_pgpme_verify_summary(unsigned int summary)
|
||||
std::cerr << " KEY_REVOKED ";
|
||||
if (summary & GPGME_SIGSUM_KEY_EXPIRED)
|
||||
std::cerr << " KEY_EXPIRED ";
|
||||
if (summary & GPGME_SIGSUM_KEY_MISSING)
|
||||
if (summary & GPGME_SIGSUM_SIG_EXPIRED)
|
||||
std::cerr << " SIG_EXPIRED ";
|
||||
if (summary & GPGME_SIGSUM_KEY_MISSING)
|
||||
std::cerr << " KEY_MISSING ";
|
||||
if (summary & GPGME_SIGSUM_CRL_MISSING)
|
||||
std::cerr << " CRL_MISSING ";
|
||||
@ -791,7 +793,7 @@ bool AuthGPG::VerifySignature_locked(const void *data, int datalen, const void *
|
||||
return false ;
|
||||
}
|
||||
|
||||
gpgme_signature_t sg = res->signatures;
|
||||
gpgme_signature_t sg = res->signatures;
|
||||
bool valid = false;
|
||||
|
||||
while(sg != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user