From c25b65074a77367b6261c16e89e324ef3fa7ab92 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 16 Jun 2016 23:10:13 -0400 Subject: [PATCH] removed check key debug info --- libretroshare/src/gxs/gxssecurity.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libretroshare/src/gxs/gxssecurity.cc b/libretroshare/src/gxs/gxssecurity.cc index 4e086ac7a..53293b0e5 100644 --- a/libretroshare/src/gxs/gxssecurity.cc +++ b/libretroshare/src/gxs/gxssecurity.cc @@ -110,9 +110,9 @@ static void setRSAPrivateKeyData(RsTlvPrivateRSAKey& key, RSA *rsa_priv) } bool GxsSecurity::checkPrivateKey(const RsTlvPrivateRSAKey& key) { -//#ifdef GXS_SECURITY_DEBUG +#ifdef GXS_SECURITY_DEBUG std::cerr << "Checking private key " << key.keyId << " ..." << std::endl; -//#endif +#endif if( (key.keyFlags & RSTLV_KEY_TYPE_MASK) != RSTLV_KEY_TYPE_FULL) { @@ -147,9 +147,9 @@ bool GxsSecurity::checkPrivateKey(const RsTlvPrivateRSAKey& key) } bool GxsSecurity::checkPublicKey(const RsTlvPublicRSAKey &key) { -//#ifdef GXS_SECURITY_DEBUG +#ifdef GXS_SECURITY_DEBUG std::cerr << "Checking public key " << key.keyId << " ..." << std::endl; -//#endif +#endif if( (key.keyFlags & RSTLV_KEY_TYPE_MASK) != RSTLV_KEY_TYPE_PUBLIC_ONLY) {