Repository navigation
Commit 2a26172
committed
internal: document the name-list truncation rule
GetNameListRaw() stops at the first empty element and drops the rest, as
OpenSSH's match_list() does. Record that at the function, along with the
two things that keep it safe for the library's own lists: the canned
defaults carry only the trailing comma AlgoListSz() strips, and a
caller's list is screened by CheckAlgoList() in the ssh.c setters.
- leave a pointer in regress.c rather than a second copy of the contract1 parent 924d01b commit 2a26172
2 files changed
Lines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5840 | 5840 | | |
5841 | 5841 | | |
5842 | 5842 | | |
5843 | | - | |
| 5843 | + | |
| 5844 | + | |
| 5845 | + | |
| 5846 | + | |
| 5847 | + | |
| 5848 | + | |
| 5849 | + | |
| 5850 | + | |
| 5851 | + | |
5844 | 5852 | | |
5845 | 5853 | | |
5846 | 5854 | | |
| |||
5866 | 5874 | | |
5867 | 5875 | | |
5868 | 5876 | | |
5869 | | - | |
5870 | | - | |
| 5877 | + | |
5871 | 5878 | | |
5872 | 5879 | | |
5873 | 5880 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14150 | 14150 | | |
14151 | 14151 | | |
14152 | 14152 | | |
14153 | | - | |
14154 | | - | |
14155 | | - | |
14156 | | - | |
| 14153 | + | |
| 14154 | + | |
| 14155 | + | |
14157 | 14156 | | |
14158 | 14157 | | |
14159 | 14158 | | |
| |||
0 commit comments