Commit 008b548
committed
Fix incorrect logic in issuer_or_subject_length function
The else clause was attached to the 'if common:' statement instead of
checking the total length. This change ensures the TypeError is raised
when no certificate information is provided, regardless of which
parameter is missing.
Fixes #301 parent a903056 commit 008b548
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
| 272 | + | |
272 | 273 | | |
273 | 274 | | |
0 commit comments