@@ -52,6 +52,7 @@ server.listen(0, '127.0.0.1', common.mustCall(function() {
52
52
} , common . mustCall ( function ( ) {
53
53
const cipher = this . getCipher ( ) ;
54
54
assert . strictEqual ( cipher . name , 'AES128-SHA256' ) ;
55
+ assert . strictEqual ( cipher . standardName , 'TLS_RSA_WITH_AES_128_CBC_SHA256' ) ;
55
56
assert . strictEqual ( cipher . version , 'TLSv1.2' ) ;
56
57
this . end ( ) ;
57
58
} ) ) ;
@@ -65,6 +66,8 @@ server.listen(0, '127.0.0.1', common.mustCall(function() {
65
66
} , common . mustCall ( function ( ) {
66
67
const cipher = this . getCipher ( ) ;
67
68
assert . strictEqual ( cipher . name , 'ECDHE-RSA-AES128-GCM-SHA256' ) ;
69
+ assert . strictEqual ( cipher . standardName ,
70
+ 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256' ) ;
68
71
assert . strictEqual ( cipher . version , 'TLSv1.2' ) ;
69
72
this . end ( ) ;
70
73
} ) ) ;
@@ -86,6 +89,7 @@ tls.createServer({
86
89
} , common . mustCall ( ( ) => {
87
90
const cipher = client . getCipher ( ) ;
88
91
assert . strictEqual ( cipher . name , 'TLS_AES_128_CCM_8_SHA256' ) ;
92
+ assert . strictEqual ( cipher . standardName , cipher . name ) ;
89
93
assert . strictEqual ( cipher . version , 'TLSv1.3' ) ;
90
94
client . end ( ) ;
91
95
} ) ) ;
0 commit comments