Skip to content

Remove hardcoded length in TLSPrefixedArray#129

Open
ashfall wants to merge 2 commits intopython-tls:masterfrom
ashfall:fix-tlsprefixed-array-custom-len-2
Open

Remove hardcoded length in TLSPrefixedArray#129
ashfall wants to merge 2 commits intopython-tls:masterfrom
ashfall:fix-tlsprefixed-array-custom-len-2

Conversation

@ashfall
Copy link
Contributor

@ashfall ashfall commented Jan 30, 2017

The current test makes the whole test suite extremely slow, but it was the only test case that reliably failed before my change and passed after. Since the default length is UBInt16, we need something > 2 ** 16 to catch this bug correctly. Everything else either fails with a generic AssertionError on parsing bad values before this bug, or passes. Thoughts?

@coveralls
Copy link

coveralls commented Jan 30, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling a0b9365 on ashfall:fix-tlsprefixed-array-custom-len-2 into 6106a21 on pyca:master.

@ashfall ashfall force-pushed the fix-tlsprefixed-array-custom-len-2 branch from a0b9365 to 5e014bf Compare June 13, 2017 04:37
@codecov-io
Copy link

Codecov Report

Merging #129 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #129   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          19     19           
  Lines        1545   1545           
  Branches       58     58           
=====================================
  Hits         1545   1545

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.

3 participants