Repository navigation
Commit 41c13f6
internal: store a decoded boolean as 0 or 1
GetBoolean() stores any nonzero wire byte as 1, per RFC 4251 section 5,
so callers and callbacks such as hasSignature see only 0 or 1.
- tests: add test_GetBoolean covering 0, 1 and other nonzero bytes
Issue: F-125731 parent 0ff99ca commit 41c13f6
2 files changed
Lines changed: 34 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5712 | 5712 | | |
5713 | 5713 | | |
5714 | 5714 | | |
5715 | | - | |
| 5715 | + | |
5716 | 5716 | | |
5717 | 5717 | | |
5718 | 5718 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5096 | 5096 | | |
5097 | 5097 | | |
5098 | 5098 | | |
| 5099 | + | |
| 5100 | + | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
| 5108 | + | |
| 5109 | + | |
| 5110 | + | |
| 5111 | + | |
| 5112 | + | |
| 5113 | + | |
| 5114 | + | |
| 5115 | + | |
| 5116 | + | |
| 5117 | + | |
| 5118 | + | |
| 5119 | + | |
| 5120 | + | |
| 5121 | + | |
| 5122 | + | |
| 5123 | + | |
| 5124 | + | |
| 5125 | + | |
| 5126 | + | |
| 5127 | + | |
5099 | 5128 | | |
5100 | 5129 | | |
5101 | 5130 | | |
| |||
24101 | 24130 | | |
24102 | 24131 | | |
24103 | 24132 | | |
| 24133 | + | |
| 24134 | + | |
| 24135 | + | |
| 24136 | + | |
24104 | 24137 | | |
24105 | 24138 | | |
24106 | 24139 | | |
| |||
0 commit comments