| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 92f182b commit 4aa2610
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -519,7 +519,8 @@ const privateDsa = fixtures.readKey('dsa_private_encrypted_1025.pem', | |||
| 519 | 519 | // Reading an encrypted key without a passphrase should fail. | |
| 520 | 520 | assert.throws(() => createPrivateKey(privateDsa), common.hasOpenSSL3 ? { | |
| 521 | 521 | name: 'Error', | |
| 522 | - message: 'error:1E08010C:DECODER routines::unsupported', | ||
| 522 | + message: 'error:07880109:common libcrypto routines::interrupted or ' + | ||
| 523 | + 'cancelled', | ||
| 523 | 524 | } : { | |
| 524 | 525 | name: 'TypeError', | |
| 525 | 526 | code: 'ERR_MISSING_PASSPHRASE', | |
@@ -545,7 +546,7 @@ const privateDsa = fixtures.readKey('dsa_private_encrypted_1025.pem', | |||
| 545 | 546 | passphrase: Buffer.alloc(1024, 'a') | |
| 546 | 547 | }), { | |
| 547 | 548 | message: common.hasOpenSSL3 ? | |
| 548 | - 'error:1E08010C:DECODER routines::unsupported' : | ||
| 549 | + 'error:07880109:common libcrypto routines::interrupted or cancelled' : | ||
| 549 | 550 | /bad decrypt/ | |
| 550 | 551 | }); | |
| 551 | 552 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -637,7 +637,8 @@ const sec1EncExp = (cipher) => getRegExpForPEM('EC PRIVATE KEY', cipher); | |||
| 637 | 637 | // Since the private key is encrypted, signing shouldn't work anymore. | |
| 638 | 638 | assert.throws(() => testSignVerify(publicKey, privateKey), | |
| 639 | 639 | common.hasOpenSSL3 ? { | |
| 640 | - message: 'error:1E08010C:DECODER routines::unsupported' | ||
| 640 | + message: 'error:07880109:common libcrypto ' + | ||
| 641 | + 'routines::interrupted or cancelled' | ||
| 641 | 642 | } : { | |
| 642 | 643 | name: 'TypeError', | |
| 643 | 644 | code: 'ERR_MISSING_PASSPHRASE', | |
@@ -674,7 +675,8 @@ const sec1EncExp = (cipher) => getRegExpForPEM('EC PRIVATE KEY', cipher); | |||
| 674 | 675 | // Since the private key is encrypted, signing shouldn't work anymore. | |
| 675 | 676 | assert.throws(() => testSignVerify(publicKey, privateKey), | |
| 676 | 677 | common.hasOpenSSL3 ? { | |
| 677 | - message: 'error:1E08010C:DECODER routines::unsupported' | ||
| 678 | + message: 'error:07880109:common libcrypto ' + | ||
| 679 | + 'routines::interrupted or cancelled' | ||
| 678 | 680 | } : { | |
| 679 | 681 | name: 'TypeError', | |
| 680 | 682 | code: 'ERR_MISSING_PASSPHRASE', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments