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

Ticket26939 26943 26940 #5

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

Conversation

Labels
None yet
Projects
None yet
2 participants
@teor2345
Copy link
Owner

@teor2345 teor2345 commented Sep 21, 2018

No description provided.

teor2345 and others added 18 commits Jul 27, 2018
This warning is spuious and disappears on nightly:
warning: field is never used: `client_key`

Closes 26946.
But allow a spurious dead_code warning for ClientData.client_key.

Part of 26956.
And remove:
* an unnecessary qualification, and
* a trivial cast.

Part of 26956.
We want to use usize for counting elements in a buffer or in a
vector.  But for system parameters like "k" or "n" or the number of
counters, we use u32, for consistency across systems.

This patch is incomplete, since we need to change some APIs. I'll do
that in the next commit.
This way it can check for parameters that would overflow u32.
This doesn't fix our unwrapping usage, though.
Also, require that no TR has X coordinate of zero -- otherwise
somebody's share would be the secret value!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment