Cert: Support path-len-constraint in BasicConstraints
This commit is contained in:
parent
98e0b6cef8
commit
2d65570234
1 changed files with 3 additions and 3 deletions
|
@ -180,10 +180,10 @@ impl BasicConstraints {
|
|||
w.start_seq("")?;
|
||||
if self.is_ca {
|
||||
// Encode CA only if true
|
||||
w.bool("CA:", true)?
|
||||
w.bool("CA:", true)?;
|
||||
}
|
||||
if self.path.is_some() {
|
||||
error!("Path Len is not yet implemented");
|
||||
if let Some(len) = self.path {
|
||||
w.integer("Path Len Constraint", &[len])?;
|
||||
}
|
||||
w.end_seq()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue