mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added proper debug output for signature verification
This commit is contained in:
parent
863e6256c3
commit
ef1a61374c
@ -1186,7 +1186,10 @@ bool AuthSSLimpl::AuthX509WithGPG(X509 *x509,uint32_t& diagnostic)
|
||||
goto err;
|
||||
}
|
||||
|
||||
std::cerr << "Verified signature of type " << sigtypestring << " on certificate using PGP key with fingerprint " << pd.fpr.toStdString() << std::endl;
|
||||
RsPeerId peerIdstr ;
|
||||
getX509id(x509, peerIdstr) ;
|
||||
|
||||
std::cerr << "Verified signature of type " << sigtypestring << " on certificate " << peerIdstr << " using PGP key with fingerprint " << pd.fpr.toStdString() << std::endl;
|
||||
}
|
||||
|
||||
#ifdef AUTHSSL_DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user