diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-12-13 12:04:18 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-12-13 12:04:18 +0100 |
commit | 195b9d8780a21f3347d8eba76c6c4d065c8fac3c (patch) | |
tree | ce2204840a6e588d0c8f2c01ee6070473667220e /dom/crypto/WebCryptoTask.cpp | |
parent | 42766ad06f7d37b507a500c8d78002d25fd804f8 (diff) | |
download | UXP-195b9d8780a21f3347d8eba76c6c4d065c8fac3c.tar UXP-195b9d8780a21f3347d8eba76c6c4d065c8fac3c.tar.gz UXP-195b9d8780a21f3347d8eba76c6c4d065c8fac3c.tar.lz UXP-195b9d8780a21f3347d8eba76c6c4d065c8fac3c.tar.xz UXP-195b9d8780a21f3347d8eba76c6c4d065c8fac3c.zip |
Root parameter dictionaries in AesTask::Init().
Diffstat (limited to 'dom/crypto/WebCryptoTask.cpp')
-rw-r--r-- | dom/crypto/WebCryptoTask.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dom/crypto/WebCryptoTask.cpp b/dom/crypto/WebCryptoTask.cpp index c4cc7080d..e5f5882e9 100644 --- a/dom/crypto/WebCryptoTask.cpp +++ b/dom/crypto/WebCryptoTask.cpp @@ -584,7 +584,7 @@ public: mMechanism = CKM_AES_CBC_PAD; telemetryAlg = TA_AES_CBC; - AesCbcParams params; + RootedDictionary<AesCbcParams> params(aCx); nsresult rv = Coerce(aCx, params, aAlgorithm); if (NS_FAILED(rv)) { mEarlyRv = NS_ERROR_DOM_INVALID_ACCESS_ERR; @@ -601,7 +601,7 @@ public: mMechanism = CKM_AES_CTR; telemetryAlg = TA_AES_CTR; - AesCtrParams params; + RootedDictionary<AesCtrParams> params(aCx); nsresult rv = Coerce(aCx, params, aAlgorithm); if (NS_FAILED(rv)) { mEarlyRv = NS_ERROR_DOM_SYNTAX_ERR; @@ -620,7 +620,7 @@ public: mMechanism = CKM_AES_GCM; telemetryAlg = TA_AES_GCM; - AesGcmParams params; + RootedDictionary<AesGcmParams> params(aCx); nsresult rv = Coerce(aCx, params, aAlgorithm); if (NS_FAILED(rv)) { mEarlyRv = NS_ERROR_DOM_SYNTAX_ERR; |