summaryrefslogtreecommitdiff
path: root/dom/crypto
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-03-14 22:58:58 +0000
committerMoonchild <moonchild@palemoon.org>2021-03-14 22:58:58 +0000
commitd830832cb9466d6ce5b16e5610d3defbc3ec8053 (patch)
treea1cf455081cd670b0f12a0b4ab0f34796f1a4ef0 /dom/crypto
parentdc468397f3173cf557309ebb4998de3b47e18ae4 (diff)
downloaduxp-d830832cb9466d6ce5b16e5610d3defbc3ec8053.tar.gz
Revert "Issue #1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask"
This reverts commit 2b6effbf29cb4f7aa85e4f697c79c473cc4c9ea4.
Diffstat (limited to 'dom/crypto')
-rw-r--r--dom/crypto/WebCryptoTask.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/dom/crypto/WebCryptoTask.cpp b/dom/crypto/WebCryptoTask.cpp
index 122afd793b..57fb3c3c86 100644
--- a/dom/crypto/WebCryptoTask.cpp
+++ b/dom/crypto/WebCryptoTask.cpp
@@ -690,7 +690,6 @@ private:
case CKM_AES_GCM:
gcmParams.pIv = mIv.Elements();
gcmParams.ulIvLen = mIv.Length();
- gcmParams.ulIvBits = gcmParams.ulIvLen * 8;
gcmParams.pAAD = mAad.Elements();
gcmParams.ulAADLen = mAad.Length();
gcmParams.ulTagBits = mTagLength;