Skip to content

Commit 3f13a0d

Browse files
author
Josef Fröhle
committed
fix(package): fix fetchCertificate to list all infos
Add also the unknown oids and names build fix fixes #196 Signed-off-by: Josef Fröhle <[email protected]>
1 parent e6a8f3c commit 3f13a0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/pem.spec.js

+2
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ describe('General Tests', function () {
387387

388388
var d = fs.readFileSync('./test/fixtures/pem196.pem').toString()
389389
pem.readCertificateInfo(d, function (error, data) {
390+
if (data.serial) delete data.serial
391+
if (certInfo.serial) delete certInfo.serial
390392
hlp.checkError(error)
391393
hlp.checkCertificateData(data, certInfo)
392394
hlp.checkTmpEmpty()

0 commit comments

Comments
 (0)