Skip to content

Commit

Permalink
Return an empty cryptosuite for invalid identifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Feb 25, 2024
1 parent 94fd162 commit 58cb3f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,7 @@ <h3>Instantiate Cryptosuite</h3>
Initialize |cryptosuite| to an empty [=struct=].
</li>
<li>
If |options|.|type| does not equal `DataIntegrityProof`, an
`INVALID_PROOF_CONFIGURATION` error MUST be raised.
If |options|.|type| does not equal `DataIntegrityProof`, return |cryptosuite|.
</li>
<li>
If |options|.|cryptosuite| is `ecdsa-rdfc-2019` then:
Expand Down

0 comments on commit 58cb3f2

Please sign in to comment.