@@ -54,8 +54,7 @@ const testCases =
54
54
{ name : 'agent2' , shouldReject : false , shouldAuth : false } ,
55
55
{ name : 'agent3' , shouldReject : false , shouldAuth : false } ,
56
56
{ name : 'nocert' , shouldReject : false , shouldAuth : false }
57
- ]
58
- } ,
57
+ ] } ,
59
58
60
59
{ title : 'Allow both authed and unauthed connections with CA1' ,
61
60
requestCert : true ,
@@ -67,8 +66,7 @@ const testCases =
67
66
{ name : 'agent2' , shouldReject : false , shouldAuth : false } ,
68
67
{ name : 'agent3' , shouldReject : false , shouldAuth : false } ,
69
68
{ name : 'nocert' , shouldReject : false , shouldAuth : false }
70
- ]
71
- } ,
69
+ ] } ,
72
70
73
71
{ title : 'Do not request certs at connection. Do that later' ,
74
72
requestCert : false ,
@@ -80,8 +78,7 @@ const testCases =
80
78
{ name : 'agent2' , shouldReject : false , shouldAuth : false } ,
81
79
{ name : 'agent3' , shouldReject : false , shouldAuth : false } ,
82
80
{ name : 'nocert' , shouldReject : false , shouldAuth : false }
83
- ]
84
- } ,
81
+ ] } ,
85
82
86
83
{ title : 'Allow only authed connections with CA1' ,
87
84
requestCert : true ,
@@ -93,8 +90,7 @@ const testCases =
93
90
{ name : 'agent2' , shouldReject : true } ,
94
91
{ name : 'agent3' , shouldReject : true } ,
95
92
{ name : 'nocert' , shouldReject : true }
96
- ]
97
- } ,
93
+ ] } ,
98
94
99
95
{ title : 'Allow only authed connections with CA1 and CA2' ,
100
96
requestCert : true ,
@@ -106,8 +102,7 @@ const testCases =
106
102
{ name : 'agent2' , shouldReject : true } ,
107
103
{ name : 'agent3' , shouldReject : false , shouldAuth : true } ,
108
104
{ name : 'nocert' , shouldReject : true }
109
- ]
110
- } ,
105
+ ] } ,
111
106
112
107
113
108
{ title : 'Allow only certs signed by CA2 but not in the CRL' ,
@@ -123,8 +118,7 @@ const testCases =
123
118
// Agent4 has a cert in the CRL.
124
119
{ name : 'agent4' , shouldReject : true , shouldAuth : false } ,
125
120
{ name : 'nocert' , shouldReject : true }
126
- ]
127
- }
121
+ ] }
128
122
] ;
129
123
130
124
function filenamePEM ( n ) {
0 commit comments