File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1237,13 +1237,11 @@ impl CertificateParams {
1237
1237
/// (only relevant for CA certificates)
1238
1238
#[ derive( Debug , PartialEq , Eq , Clone ) ]
1239
1239
pub struct NameConstraints {
1240
- /// If non-empty, a whitelist of subtrees that the
1241
- /// domain has to match.
1240
+ /// A list of subtrees that the domain has to match.
1242
1241
pub permitted_subtrees : Vec < GeneralSubtree > ,
1243
- /// A list of excluded subtrees.
1242
+ /// A list of subtrees that the domain must not match .
1244
1243
///
1245
- /// Any name matching an excluded subtree is invalid
1246
- /// even if it also matches a permitted subtree.
1244
+ /// Any name matching an excluded subtree is invalid even if it also matches a permitted subtree.
1247
1245
pub excluded_subtrees : Vec < GeneralSubtree > ,
1248
1246
}
1249
1247
You can’t perform that action at this time.
0 commit comments