remove debugging variables

master
Arne Schroeder 2019-09-07 10:33:07 +02:00
parent 57c6026f34
commit 275a90f658
2 changed files with 0 additions and 4 deletions

View File

@ -28,6 +28,4 @@ public:
private:
CryptoPP::RSA::PublicKey m_publicKey;
CryptoPP::RSA::PrivateKey m_privateKey;
std::string tmp;
CryptoPP::SecByteBlock tmpSec;
};

View File

@ -104,7 +104,6 @@ std::string IntegretyCheck::generateFileHash(const std::string &filepath) {
void IntegretyCheck::signHashList(std::string &hashList) {
CryptoPP::AutoSeededRandomPool rng;
tmp = hashList;
CryptoPP::RSASSA_PKCS1v15_SHA_Signer signer(m_privateKey);
size_t signature_length = signer.MaxSignatureLength();
@ -114,7 +113,6 @@ void IntegretyCheck::signHashList(std::string &hashList) {
hashList.length(), signature);
std::cerr << signature_length << std::endl;
signature.resize(signature_length);
tmpSec = signature;
// transfrom binary signature to base64 encoded string
std::string strHexSignature;