mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-20 21:04:50 -04:00
removed askForDeferredSelfSignature() and made IdEditDialog comply with this
This commit is contained in:
parent
0cc871da60
commit
cd98f02246
14 changed files with 28 additions and 145 deletions
|
@ -164,15 +164,6 @@ bool rs_nxs_test::RsDummyPgpUtils::VerifySignBin(const void* /*data*/,
|
|||
return true;
|
||||
}
|
||||
|
||||
bool rs_nxs_test::RsDummyPgpUtils::askForDeferredSelfSignature(const void* /*data*/,
|
||||
const uint32_t /*len*/,
|
||||
unsigned char* /*sign*/,
|
||||
unsigned int* /*signlen*/,
|
||||
int& /*signature_result*/,
|
||||
std::string /*reason*/
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -170,7 +170,6 @@ namespace rs_nxs_test
|
|||
|
||||
bool parseSignature(unsigned char *sign, unsigned int signlen, RsPgpId& issuer) const;
|
||||
bool VerifySignBin(const void *data, uint32_t len, unsigned char *sign, unsigned int signlen, const PGPFingerprintType& withfingerprint);
|
||||
bool askForDeferredSelfSignature(const void *data, const uint32_t len, unsigned char *sign, unsigned int *signlen, int& signature_result , std::string reason = "");
|
||||
|
||||
|
||||
private:
|
||||
|
|
|
@ -101,13 +101,4 @@ bool FakePgpAuxUtils::getGPGAllList(std::list<RsPgpId> &ids)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool FakePgpAuxUtils::askForDeferredSelfSignature(const void* /*data*/, const uint32_t /*len*/, unsigned char *sign, unsigned int *signlen,int& signature_result, std::string /*reason = ""*/ )
|
||||
{
|
||||
for(unsigned int i = 0; i < *signlen; i++)
|
||||
{
|
||||
sign[i] = 0;
|
||||
}
|
||||
signature_result = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ public:
|
|||
|
||||
virtual bool parseSignature(unsigned char *sign, unsigned int signlen, RsPgpId& issuer) const;
|
||||
virtual bool VerifySignBin(const void *data, uint32_t len, unsigned char *sign, unsigned int signlen, const PGPFingerprintType& withfingerprint);
|
||||
virtual bool askForDeferredSelfSignature(const void *data, const uint32_t len, unsigned char *sign, unsigned int *signlen, int& signature_result , std::string reason);
|
||||
|
||||
virtual void addPeerListToPgpList(const std::list<RsPeerId> &ids);
|
||||
virtual void addPeerIdToPgpList(const RsPeerId &id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue