added proper debug output for signature verification

This commit is contained in:
csoler 2017-11-19 19:57:38 +01:00
parent 863e6256c3
commit ef1a61374c

View File

@ -1186,7 +1186,10 @@ bool AuthSSLimpl::AuthX509WithGPG(X509 *x509,uint32_t& diagnostic)
goto err; 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 #ifdef AUTHSSL_DEBUG