From 719adaae9bf7c6ce31aad74b059d1dc501f40565 Mon Sep 17 00:00:00 2001 From: sehraf Date: Fri, 27 Nov 2020 15:24:44 +0100 Subject: [PATCH] update i2psam3 --- libretroshare/src/services/autoproxy/p3i2psam3.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libretroshare/src/services/autoproxy/p3i2psam3.cpp b/libretroshare/src/services/autoproxy/p3i2psam3.cpp index 97e8b392c..47123328a 100644 --- a/libretroshare/src/services/autoproxy/p3i2psam3.cpp +++ b/libretroshare/src/services/autoproxy/p3i2psam3.cpp @@ -64,12 +64,12 @@ bool p3I2pSam3::initialSetup(std::string &addr, uint16_t &/*port*/) RS_STACK_MUTEX(mLock); if (!mSetting.address.publicKey.empty() || !mSetting.address.privateKey.empty()) - RS_DBG("overwriting keys!"); + RS_WARN("overwriting keys!"); bool success = generateKey(mSetting.address.publicKey, mSetting.address.privateKey); if (!success) { - RS_DBG("failed to retrieve keys"); + RS_WARN("failed to retrieve keys"); return false; } else { std::string s, c; @@ -613,14 +613,14 @@ bool p3I2pSam3::generateKey(std::string &pub, std::string &priv) Sam3Session ss; if (0 > sam3GenerateKeys(&ss, SAM3_HOST_DEFAULT, SAM3_PORT_DEFAULT, Sam3SigType::EdDSA_SHA512_Ed25519)) { - RS_DBG("got error:", ss.error); + RS_DBG("got error: ", ss.error); return false; } pub = std::string(ss.pubkey); priv = std::string(ss.privkey); - RS_DBG2("publuc key / address", pub); - RS_DBG2("private key", priv); + RS_DBG2("publuc key / address ", pub); + RS_DBG2("private key ", priv); return true; }