Skip to content

Commit 2d3d294

Browse files
Update modules/material-management-browser/src/browser_cryptographic_materials_manager.ts
Co-Authored-By: Matt Bullock <[email protected]>
1 parent a9b6259 commit 2d3d294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/material-management-browser/src/browser_cryptographic_materials_manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class WebCryptoDefaultCryptographicMaterialsManager implements WebCryptoM
105105
if (!namedCurve) return new WebCryptoDecryptionMaterial(suite, encryptionContext)
106106

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

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

0 commit comments

Comments
 (0)