File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
crates/stackable-certs/src/ca Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,11 @@ pub enum Error {
68
68
#[ snafu( display( "failed to parse AuthorityKeyIdentifier" ) ) ]
69
69
ParseAuthorityKeyIdentifier { source : x509_cert:: der:: Error } ,
70
70
71
- #[ snafu( display( "The subject alternative DNS name \" {dns_name}\" is not a Ia5String" ) ) ]
72
- SaDnsNameNotAIa5String {
73
- dns_name : String ,
71
+ #[ snafu( display(
72
+ "failed to parse subject alternative DNS name \" {subject_alternative_dns_name}\" as a Ia5 string"
73
+ ) ) ]
74
+ ParseSubjectAlternativeDnsName {
75
+ subject_alternative_dns_name : String ,
74
76
source : x509_cert:: der:: Error ,
75
77
} ,
76
78
}
@@ -341,8 +343,8 @@ where
341
343
. into_iter ( )
342
344
. map ( |dns_name| {
343
345
Ok ( GeneralName :: DnsName ( Ia5String :: new ( dns_name) . context (
344
- SaDnsNameNotAIa5StringSnafu {
345
- dns_name : dns_name. to_string ( ) ,
346
+ ParseSubjectAlternativeDnsNameSnafu {
347
+ subject_alternative_dns_name : dns_name. to_string ( ) ,
346
348
} ,
347
349
) ?) )
348
350
} )
You can’t perform that action at this time.
0 commit comments