mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-04 17:15:31 -05:00
Added missing break in AuthGPGimpl::VerifySignature
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3348 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
eccdba153e
commit
7b4364035e
@ -888,13 +888,14 @@ bool AuthGPGimpl::VerifySignature(const void *data, int datalen, const void *sig
|
|||||||
#ifdef GPG_DEBUG
|
#ifdef GPG_DEBUG
|
||||||
fprintf(stderr, "AuthGPGimpl::VerifySignature() OK\n");
|
fprintf(stderr, "AuthGPGimpl::VerifySignature() OK\n");
|
||||||
#endif
|
#endif
|
||||||
if (withfingerprint != "" && withfingerprint == std::string(sg->fpr)) {
|
if (withfingerprint.empty() == false && withfingerprint == sg->fpr) {
|
||||||
#ifdef GPG_DEBUG
|
#ifdef GPG_DEBUG
|
||||||
fprintf(stderr, "AuthGPGimpl::VerifySignature() for the fingerprint key : ");
|
fprintf(stderr, "AuthGPGimpl::VerifySignature() for the fingerprint key : ");
|
||||||
std::cerr << withfingerprint;
|
std::cerr << withfingerprint;
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
#endif
|
#endif
|
||||||
valid = true;
|
valid = true;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user