File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ function main(conf) {
3939
4040 options = { key : fs . readFileSync ( cert_dir + '/test_key.pem' ) ,
4141 cert : fs . readFileSync ( cert_dir + '/test_cert.pem' ) ,
42- ca : [ fs . readFileSync ( cert_dir + '/test_ca.pem' ) ] } ;
42+ ca : [ fs . readFileSync ( cert_dir + '/test_ca.pem' ) ] ,
43+ ciphers : 'AES256-GCM-SHA384' } ;
4344
4445 server = tls . createServer ( options , onConnection ) ;
4546 setTimeout ( done , dur * 1000 ) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ function main(conf) {
2323 var cert_dir = path . resolve ( __dirname , '../../test/fixtures' ) ,
2424 options = { key : fs . readFileSync ( cert_dir + '/test_key.pem' ) ,
2525 cert : fs . readFileSync ( cert_dir + '/test_cert.pem' ) ,
26- ca : [ fs . readFileSync ( cert_dir + '/test_ca.pem' ) ] } ;
26+ ca : [ fs . readFileSync ( cert_dir + '/test_ca.pem' ) ] ,
27+ ciphers : 'AES256-GCM-SHA384' } ;
2728
2829 server = tls . createServer ( options , onConnection ) ;
2930 server . listen ( common . PORT , onListening ) ;
You can’t perform that action at this time.
0 commit comments