Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crypto: move ops to Value #357

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Crypto: move ops to Value #357

wants to merge 2 commits into from

Conversation

aberaud
Copy link
Member

@aberaud aberaud commented Dec 11, 2018

No description provided.

}
}
if (v->isSigned())
return v->checkSignature();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No more log if checkSignature fails "Signature verification failed"

}
if (!n->signatureValid) {
DHT_LOG.WARN("Edition forbidden: signature verification failed.");
if (not n->checkSignature())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here too.

signatureChecked = true;
if (isSigned()) {
signatureValid = owner and owner->checkSignature(getToSign(), signature);
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this block for homogeneization

@AmarOk1412
Copy link
Contributor

Else it's ok for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants