Commit 145c828
Remove unnecessary sorting in SignedDataForm
The signature does not depend on a canonical representation of the data,
so don't bother sorting it. Tweak the data for the tests as a
consequence. However, note that the tests are still deterministic since
as of version 3.7, Python guarantees dictionary order.1 parent 1be8c45 commit 145c828
2 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | | - | |
| 51 | + | |
53 | 52 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments