@@ -108,12 +108,10 @@ const sec1EncExp = (cipher) => getRegExpForPEM('EC PRIVATE KEY', cipher);
108108 assert . strictEqual ( typeof publicKey , 'object' ) ;
109109 assert . strictEqual ( publicKey . type , 'public' ) ;
110110 assert . strictEqual ( publicKey . asymmetricKeyType , 'rsa' ) ;
111- assert . strictEqual ( publicKey . asymmetricKeySize , 64 ) ;
112111
113112 assert . strictEqual ( typeof privateKey , 'object' ) ;
114113 assert . strictEqual ( privateKey . type , 'private' ) ;
115114 assert . strictEqual ( privateKey . asymmetricKeyType , 'rsa' ) ;
116- assert . strictEqual ( publicKey . asymmetricKeySize , 64 ) ;
117115}
118116
119117{
@@ -455,7 +453,6 @@ const sec1EncExp = (cipher) => getRegExpForPEM('EC PRIVATE KEY', cipher);
455453 assert . strictEqual ( typeof publicKey , 'object' ) ;
456454 assert . strictEqual ( publicKey . type , 'public' ) ;
457455 assert . strictEqual ( publicKey . asymmetricKeyType , 'rsa' ) ;
458- assert . strictEqual ( publicKey . asymmetricKeySize , 128 ) ;
459456
460457 // The private key should still be a string.
461458 assert . strictEqual ( typeof privateKey , 'string' ) ;
@@ -480,7 +477,6 @@ const sec1EncExp = (cipher) => getRegExpForPEM('EC PRIVATE KEY', cipher);
480477 assert . strictEqual ( typeof privateKey , 'object' ) ;
481478 assert . strictEqual ( privateKey . type , 'private' ) ;
482479 assert . strictEqual ( privateKey . asymmetricKeyType , 'rsa' ) ;
483- assert . strictEqual ( privateKey . asymmetricKeySize , 128 ) ;
484480
485481 testEncryptDecrypt ( publicKey , privateKey ) ;
486482 testSignVerify ( publicKey , privateKey ) ;
0 commit comments