Manuel Pégourié-Gonnard
b030c33e57
Fix bug checking pathlen on first intermediate
...
Remove check on the pathLenConstraint value when looking for a parent to the
EE cert, as the constraint is on the number of intermediate certs below the
parent, and that number is always 0 at that point, so the constraint is always
satisfied.
The check was actually off-by-one, which caused valid chains to be rejected
under the following conditions:
- the parent certificate is not a trusted root, and
- it has pathLenConstraint == 0 (max_pathlen == 1 in our representation)
fixes #280
2015-11-19 11:26:52 +01:00
..
2015-06-25 10:59:56 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-11-02 10:42:44 +09:00
2015-10-05 15:23:11 +01:00
2015-10-27 10:28:11 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-11-04 22:08:33 +00:00
2015-09-04 14:21:07 +02:00
2015-10-05 11:41:36 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-10-05 11:41:36 +01:00
2015-10-27 10:30:36 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-08 11:21:21 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-08-10 10:17:32 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-10-05 12:17:49 +01:00
2015-11-02 05:58:10 +09:00
2015-09-04 14:21:07 +02:00
2015-10-05 00:26:36 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-28 19:47:50 +02:00
2015-09-04 14:21:07 +02:00
2015-11-02 10:43:03 +09:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-10-30 10:57:43 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-10-28 13:16:56 +01:00
2015-09-04 14:21:07 +02:00
2015-10-02 11:20:28 +02:00
2015-09-04 14:21:07 +02:00
2015-11-02 10:43:03 +09:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-09 11:50:00 +02:00
2015-09-04 14:21:07 +02:00
2015-11-02 10:43:03 +09:00
2015-09-04 14:21:07 +02:00
2015-11-19 11:26:52 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00