Commit 4eb5818
committed
fix: prevent signer overwrite when adding multiple signers to envelope
Use count of existing signers as next index instead of complex calculation
that could result in same index being reused, causing signers to overwrite
each other when loading LibreSign signers without certificate data.
Signed-off-by: Vitor Mattos <[email protected]>1 parent fb4e45d commit 4eb5818
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
0 commit comments