fix: standardize punctuation

This commit is contained in:
Linus Rath
2026-04-16 19:07:42 +02:00
parent 6b57118add
commit 8bdadc7ba3
107 changed files with 452 additions and 448 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ export async function smimeVerify(
function parseContentInfo(der: ArrayBuffer): pkijs.ContentInfo {
const asn1 = asn1js.fromBER(der);
if (asn1.offset === -1) {
throw new Error('Invalid ASN.1 data cannot parse CMS structure');
throw new Error('Invalid ASN.1 data - cannot parse CMS structure');
}
return new pkijs.ContentInfo({ schema: asn1.result });
}