Have all overloads of...
Have all overloads of webcrypto::AlgorithmImplementation::DeserializeKeyForClone check the params type. Presently neither this nor the calling code checks that the algorithm ID and key params type correspond correctly. This code already knows what the expected value is, so it seems a reasonable place to check. BUG=669649 Review-Url: https://codereview.chromium.org/2544533002 Cr-Commit-Position: refs/heads/master@{#435528}
Showing
Please register or sign in to comment