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:
joss17 2010-01-14 00:36:02 +00:00
parent 37cf2e98a2
commit a38799a98e

View File

@ -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)