summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-22 17:17:26 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-22 17:17:26 +0000
commitfbc97c595085bd98b432963b9a627610f5294052 (patch)
treee116cf7060e2f4488e230b435e9913b3510b6859 /views
parent89b0c8dddfdc584e2e3a47b44f3b5fd856b31a1e (diff)
downloadchromium_src-fbc97c595085bd98b432963b9a627610f5294052.zip
chromium_src-fbc97c595085bd98b432963b9a627610f5294052.tar.gz
chromium_src-fbc97c595085bd98b432963b9a627610f5294052.tar.bz2
Fix decoding bug in RSAPrivateKey.
We were dropping the most significant byte from the input when decoding PrivateKeyInfo, whether or not it was part of the original data. This shouldn't matter, except that we need to get back the original byte lengths so that we can give them to CryptoAPI. BUG=14877 TEST=Stress tested the functions by creating 1000 random private keys, exporting them, then re-importing. Also tried stressing the edge cases in particular around extra trailing null bytes. Review URL: http://codereview.chromium.org/141036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
0 files changed, 0 insertions, 0 deletions