@@ -52,6 +52,7 @@ server.listen(0, '127.0.0.1', common.mustCall(function() {
5252 } , common . mustCall ( function ( ) {
5353 const cipher = this . getCipher ( ) ;
5454 assert . strictEqual ( cipher . name , 'AES128-SHA256' ) ;
55+ assert . strictEqual ( cipher . standardName , 'TLS_RSA_WITH_AES_128_CBC_SHA256' ) ;
5556 assert . strictEqual ( cipher . version , 'TLSv1.2' ) ;
5657 this . end ( ) ;
5758 } ) ) ;
@@ -65,6 +66,8 @@ server.listen(0, '127.0.0.1', common.mustCall(function() {
6566 } , common . mustCall ( function ( ) {
6667 const cipher = this . getCipher ( ) ;
6768 assert . strictEqual ( cipher . name , 'ECDHE-RSA-AES128-GCM-SHA256' ) ;
69+ assert . strictEqual ( cipher . standardName ,
70+ 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256' ) ;
6871 assert . strictEqual ( cipher . version , 'TLSv1.2' ) ;
6972 this . end ( ) ;
7073 } ) ) ;
@@ -86,6 +89,7 @@ tls.createServer({
8689 } , common . mustCall ( ( ) => {
8790 const cipher = client . getCipher ( ) ;
8891 assert . strictEqual ( cipher . name , 'TLS_AES_128_CCM_8_SHA256' ) ;
92+ assert . strictEqual ( cipher . standardName , cipher . name ) ;
8993 assert . strictEqual ( cipher . version , 'TLSv1.3' ) ;
9094 client . end ( ) ;
9195 } ) ) ;
0 commit comments