Skip to content

Commit a9b6259

Browse files
Update modules/material-management-node/src/node_cryptographic_materials_manager.ts
Co-Authored-By: Matt Bullock <[email protected]>
1 parent dd21128 commit a9b6259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/material-management-node/src/node_cryptographic_materials_manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class NodeDefaultCryptographicMaterialsManager implements NodeMaterialsMa
106106
if (!namedCurve) return new NodeDecryptionMaterial(suite, encryptionContext)
107107

108108
/* Precondition: NodeDefaultCryptographicMaterialsManager If the algorithm suite specification requires a signatureCurve a context must exist. */
109-
if (!encryptionContext) throw new Error('Context does not contain required public key.')
109+
if (!encryptionContext) throw new Error('Encryption context does not contain required public key.')
110110

111111
const { [ENCODED_SIGNER_KEY]: compressPoint } = encryptionContext
112112

0 commit comments

Comments
 (0)