Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Issue 435593003: Align OpenSSL and NSS ChannelID formats. (Closed)

Created:
6 years, 4 months ago by davidben
Modified:
6 years, 4 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Align OpenSSL and NSS ChannelID formats. NSS would use "" as the password while OpenSSL would use "\0\0" (UCS-2 encoding of a NUL-terminated string) because of how PKCS#12 recommended encoding passwords. Make the OpenSSL code use the same format so that we can freely switch back and forth between NSS and OpenSSL. (This is in case we need to roll back an OpenSSL cutover and the release has hit some early release channel already.) BUG=399121 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287890

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 11

Patch Set 3 : Switch Android to the NSS format too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -37 lines) Patch
M crypto/ec_private_key_openssl.cc View 1 2 2 chunks +29 lines, -26 lines 0 comments Download
M crypto/ec_private_key_unittest.cc View 5 chunks +49 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
davidben
https://codereview.chromium.org/435593003/diff/20001/crypto/ec_private_key_unittest.cc File crypto/ec_private_key_unittest.cc (right): https://codereview.chromium.org/435593003/diff/20001/crypto/ec_private_key_unittest.cc#newcode194 crypto/ec_private_key_unittest.cc:194: 0x49, 0xf6, 0x7e, 0xd0, 0x42, 0xaa, 0x14, 0x3c, 0x24, ...
6 years, 4 months ago (2014-08-04 17:25:21 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/435593003/diff/20001/crypto/ec_private_key_openssl.cc File crypto/ec_private_key_openssl.cc (right): https://codereview.chromium.org/435593003/diff/20001/crypto/ec_private_key_openssl.cc#newcode176 crypto/ec_private_key_openssl.cc:176: #endif I'm not sure I understand this bit. That ...
6 years, 4 months ago (2014-08-06 02:24:48 UTC) #2
davidben
https://codereview.chromium.org/435593003/diff/20001/crypto/ec_private_key_openssl.cc File crypto/ec_private_key_openssl.cc (right): https://codereview.chromium.org/435593003/diff/20001/crypto/ec_private_key_openssl.cc#newcode176 crypto/ec_private_key_openssl.cc:176: #endif On 2014/08/06 02:24:48, Ryan Sleevi wrote: > I'm ...
6 years, 4 months ago (2014-08-06 18:34:36 UTC) #3
Ryan Sleevi
lgtm https://codereview.chromium.org/435593003/diff/20001/crypto/ec_private_key_openssl.cc File crypto/ec_private_key_openssl.cc (right): https://codereview.chromium.org/435593003/diff/20001/crypto/ec_private_key_openssl.cc#newcode178 crypto/ec_private_key_openssl.cc:178: NID_pbe_WithSHA1And3_Key_TripleDES_CBC, On 2014/08/06 18:34:35, David Benjamin wrote: > ...
6 years, 4 months ago (2014-08-06 21:02:20 UTC) #4
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 4 months ago (2014-08-06 21:35:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/435593003/40001
6 years, 4 months ago (2014-08-06 21:38:15 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 23:11:22 UTC) #7
Message was sent while issue was closed.
Change committed as 287890

Powered by Google App Engine
This is Rietveld 408576698