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

Issue 778543004: Add sanity check to generateKey to make sure usages aren't empty (Closed)

Created:
6 years ago by nharper
Modified:
6 years ago
Reviewers:
eroman
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add sanity check to generateKey to make sure usages aren't empty BUG=425645 Committed: https://crrev.com/3e2062be7c36cea30981cac6f681d5c6f030d1bd Cr-Commit-Position: refs/heads/master@{#307133}

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
M content/child/webcrypto/algorithm_dispatch.cc View 1 2 2 chunks +20 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
nharper
6 years ago (2014-12-05 19:16:13 UTC) #2
eroman
https://codereview.chromium.org/778543004/diff/1/content/child/webcrypto/algorithm_dispatch.cc File content/child/webcrypto/algorithm_dispatch.cc (right): https://codereview.chromium.org/778543004/diff/1/content/child/webcrypto/algorithm_dispatch.cc#newcode115 content/child/webcrypto/algorithm_dispatch.cc:115: if (status.IsSuccess()) { style: Can you write this in ...
6 years ago (2014-12-05 19:41:55 UTC) #3
eroman
https://codereview.chromium.org/778543004/diff/1/content/child/webcrypto/algorithm_dispatch.cc File content/child/webcrypto/algorithm_dispatch.cc (right): https://codereview.chromium.org/778543004/diff/1/content/child/webcrypto/algorithm_dispatch.cc#newcode126 content/child/webcrypto/algorithm_dispatch.cc:126: DCHECK(key->usages() != 0) also: DCHECK_NE(0, key->usages());
6 years ago (2014-12-05 20:52:45 UTC) #4
nharper
https://codereview.chromium.org/778543004/diff/1/content/child/webcrypto/algorithm_dispatch.cc File content/child/webcrypto/algorithm_dispatch.cc (right): https://codereview.chromium.org/778543004/diff/1/content/child/webcrypto/algorithm_dispatch.cc#newcode115 content/child/webcrypto/algorithm_dispatch.cc:115: if (status.IsSuccess()) { On 2014/12/05 19:41:55, eroman wrote: > ...
6 years ago (2014-12-05 23:15:47 UTC) #5
eroman
lgtm https://codereview.chromium.org/778543004/diff/20001/content/child/webcrypto/algorithm_dispatch.cc File content/child/webcrypto/algorithm_dispatch.cc (right): https://codereview.chromium.org/778543004/diff/20001/content/child/webcrypto/algorithm_dispatch.cc#newcode132 content/child/webcrypto/algorithm_dispatch.cc:132: // Even though this is unexpected, I chose ...
6 years ago (2014-12-05 23:49:48 UTC) #6
nharper
https://codereview.chromium.org/778543004/diff/20001/content/child/webcrypto/algorithm_dispatch.cc File content/child/webcrypto/algorithm_dispatch.cc (right): https://codereview.chromium.org/778543004/diff/20001/content/child/webcrypto/algorithm_dispatch.cc#newcode132 content/child/webcrypto/algorithm_dispatch.cc:132: // Even though this is unexpected, I chose not ...
6 years ago (2014-12-05 23:58:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/778543004/40001
6 years ago (2014-12-05 23:59:28 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-06 01:06:07 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-06 01:06:49 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3e2062be7c36cea30981cac6f681d5c6f030d1bd
Cr-Commit-Position: refs/heads/master@{#307133}

Powered by Google App Engine
This is Rietveld 408576698