[webcrypto] Fix a bug with JWK private key import.
commit86ee591acb7a0aa8d0d8bc6bb4dd163d8ac5e203
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 9 Jun 2014 22:52:59 +0000 (9 22:52 +0000)
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 9 Jun 2014 22:52:59 +0000 (9 22:52 +0000)
tree16d349abcda9a42bea2b08d1a2bb4701017e8a21
parentdbf46869b07c09eb74515ba2c8e9a727b0a09c65
[webcrypto] Fix a bug with JWK private key import.

The bug would return the oldest live private key imported via JWK rather than the expected one.

BUG=378315,245025

Review URL: https://codereview.chromium.org/308523003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275870 0039d316-1c4b-4281-b951-d872f2087c98
content/child/webcrypto/platform_crypto_nss.cc
content/child/webcrypto/shared_crypto_unittest.cc
content/test/data/webcrypto/rsa_private_keys.json [new file with mode: 0644]