From e82b410d6c029385868bf801a815dd37103fa21b Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Thu, 6 Jan 2022 22:49:48 -0500 Subject: [PATCH] Fix typos. --- lib/x509.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/x509.js b/lib/x509.js index 380f9d52..a0752142 100644 --- a/lib/x509.js +++ b/lib/x509.js @@ -700,7 +700,7 @@ var _readSignatureParameters = function(oid, obj, fillDefaults) { var _createSignatureDigest = function(options) { switch(oids[options.signatureOid]) { case 'sha1WithRSAEncryption': - // depreacted alias + // deprecated alias case 'sha1WithRSASignature': return forge.md.sha1.create(); case 'md5WithRSAEncryption': @@ -737,7 +737,7 @@ var _verifySignature = function(options) { switch(cert.signatureOid) { case oids.sha1WithRSAEncryption: - // depreacted alias + // deprecated alias case oids.sha1WithRSASignature: /* use PKCS#1 v1.5 padding scheme */ break;