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

Issue 231603002: Allow empty keys in hmac_openssl.cc. (Closed)

Created:
6 years, 8 months ago by davidben
Modified:
6 years, 8 months ago
Reviewers:
wtc
CC:
chromium-reviews
Visibility:
Public.

Description

Allow empty keys in hmac_openssl.cc. PrefHashCalculator uses empty keys in developer builds. This fixes Chrome startup in debug builds. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263085

Patch Set 1 #

Patch Set 2 : Blah openssl. (Test pending.) #

Patch Set 3 : Test #

Total comments: 6

Patch Set 4 : wtc comments #

Total comments: 2

Patch Set 5 : wtc comments #

Patch Set 6 : 0 -> 0u in hopes that appeases Android's STL #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M crypto/hmac_openssl.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M crypto/hmac_unittest.cc View 1 2 3 4 5 1 chunk +18 lines, -0 lines 2 comments Download

Messages

Total messages: 11 (0 generated)
davidben
6 years, 8 months ago (2014-04-09 19:41:28 UTC) #1
davidben
Okay, updated to not run afoul of OpenSSL's screwy handling of NULL keys. Also added ...
6 years, 8 months ago (2014-04-09 20:10:42 UTC) #2
wtc
Patch set 3 LGTM. Please ask the owner of IDR_PREF_HASH_SEED_BIN whether he or she realizes ...
6 years, 8 months ago (2014-04-09 21:30:58 UTC) #3
davidben
https://codereview.chromium.org/231603002/diff/40001/crypto/hmac_openssl.cc File crypto/hmac_openssl.cc (right): https://codereview.chromium.org/231603002/diff/40001/crypto/hmac_openssl.cc#newcode37 crypto/hmac_openssl.cc:37: // equivalent. On 2014/04/09 21:30:58, wtc wrote: > > ...
6 years, 8 months ago (2014-04-09 21:44:28 UTC) #4
wtc
Patch set 4 LGTM. We should fix the NSS problem. https://codereview.chromium.org/231603002/diff/50001/crypto/hmac_unittest.cc File crypto/hmac_unittest.cc (right): https://codereview.chromium.org/231603002/diff/50001/crypto/hmac_unittest.cc#newcode293 ...
6 years, 8 months ago (2014-04-09 22:10:48 UTC) #5
davidben
> We should fix the NSS problem. Might just be as easy as removing this ...
6 years, 8 months ago (2014-04-09 23:01:52 UTC) #6
wtc
Patch set 6 LGTM. https://codereview.chromium.org/231603002/diff/80001/crypto/hmac_unittest.cc File crypto/hmac_unittest.cc (right): https://codereview.chromium.org/231603002/diff/80001/crypto/hmac_unittest.cc#newcode284 crypto/hmac_unittest.cc:284: base::StringPiece data("", 0u); You can ...
6 years, 8 months ago (2014-04-10 18:43:41 UTC) #7
davidben
https://codereview.chromium.org/231603002/diff/80001/crypto/hmac_unittest.cc File crypto/hmac_unittest.cc (right): https://codereview.chromium.org/231603002/diff/80001/crypto/hmac_unittest.cc#newcode284 crypto/hmac_unittest.cc:284: base::StringPiece data("", 0u); On 2014/04/10 18:43:41, wtc wrote: > ...
6 years, 8 months ago (2014-04-10 18:54:29 UTC) #8
davidben
The CQ bit was checked by davidben@chromium.org
6 years, 8 months ago (2014-04-10 18:54:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidben@chromium.org/231603002/80001
6 years, 8 months ago (2014-04-10 18:55:21 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 21:17:02 UTC) #11
Message was sent while issue was closed.
Change committed as 263085

Powered by Google App Engine
This is Rietveld 408576698