File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export class NamedGroupList extends Constrained {
165165 * @param {...NamedGroup } namedgroup - The NamedGroup instances to include in the list.
166166 */
167167 constructor ( ...namedgroup ) {
168- const namedgroupUint16 = namedgroup . map ( e => e . toUint16 ( ) ) ;
168+ const namedgroupUint16 = namedgroup . map ( e => e . Uint16 ) ;
169169 super ( 2 , 65535 , ...namedgroupUint16 ) ;
170170 this . namedGroups = namedgroup ;
171171 }
@@ -235,7 +235,7 @@ export class KeyShareEntry extends Struct {
235235 * @param {KeyExchange } key_exchange - The KeyExchange associated with the key share.
236236 */
237237 constructor ( group , key_exchange ) {
238- super ( group . toUint16 ( ) , key_exchange ) ;
238+ super ( group . Uint16 , key_exchange ) ;
239239 this . group = group ;
240240 this . key_exchange = key_exchange . key_exchange ;
241241 }
You can’t perform that action at this time.
0 commit comments