@@ -258,10 +258,8 @@ fn read_ee_with_large_pos_serial() {
258
258
#[ cfg( feature = "alloc" ) ]
259
259
#[ test]
260
260
fn list_netflix_names ( ) {
261
- let ee = include_bytes ! ( "netflix/ee.der" ) ;
262
-
263
261
expect_cert_dns_names (
264
- ee ,
262
+ include_bytes ! ( "netflix/ee.der" ) ,
265
263
[
266
264
"account.netflix.com" ,
267
265
"ca.netflix.com" ,
@@ -282,12 +280,10 @@ fn list_netflix_names() {
282
280
#[ cfg( feature = "alloc" ) ]
283
281
#[ test]
284
282
fn invalid_subject_alt_names ( ) {
285
- // same as netflix ee certificate, but with the last name in the list
286
- // changed to 'www.netflix:com'
287
- let data = include_bytes ! ( "misc/invalid_subject_alternative_name.der" ) ;
288
-
289
283
expect_cert_dns_names (
290
- data,
284
+ // same as netflix ee certificate, but with the last name in the list
285
+ // changed to 'www.netflix:com'
286
+ include_bytes ! ( "misc/invalid_subject_alternative_name.der" ) ,
291
287
[
292
288
"account.netflix.com" ,
293
289
"ca.netflix.com" ,
@@ -308,12 +304,10 @@ fn invalid_subject_alt_names() {
308
304
#[ cfg( feature = "alloc" ) ]
309
305
#[ test]
310
306
fn wildcard_subject_alternative_names ( ) {
311
- // same as netflix ee certificate, but with the last name in the list
312
- // changed to 'ww*.netflix:com'
313
- let data = include_bytes ! ( "misc/dns_names_and_wildcards.der" ) ;
314
-
315
307
expect_cert_dns_names (
316
- data,
308
+ // same as netflix ee certificate, but with the last name in the list
309
+ // changed to 'ww*.netflix:com'
310
+ include_bytes ! ( "misc/dns_names_and_wildcards.der" ) ,
317
311
[
318
312
"account.netflix.com" ,
319
313
"*.netflix.com" ,
0 commit comments