Skip to content

Commit 56f4316

Browse files
dhensbydavidlehn
authored andcommitted
Allow DigestInfo.DigestAlgorith.parameters to be optional
1 parent cbf0bd5 commit 56f4316

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rsa.js

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ var digestInfoValidator = {
286286
name: 'DigestInfo.DigestAlgorithm.parameters',
287287
tagClass: asn1.Class.UNIVERSAL,
288288
type: asn1.Type.NULL,
289+
optional: true,
289290
constructed: false
290291
}]
291292
}, {

0 commit comments

Comments
 (0)