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

Issue 14358023: Differentiate between VERIFY_FAILED and VERIFY_INCORRECT_KEY_USAGE. (Closed)

Created:
7 years, 8 months ago by palmer
Modified:
7 years, 8 months ago
Reviewers:
joth, Yaron, Ryan Sleevi, ppi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Differentiate between VERIFY_FAILED and VERIFY_INCORRECT_KEY_USAGE. VERIFY_FAILED means general failure to validate the X.509 chain at all, which is not what we want when eKU is incorrectly. BUG=233150 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196500

Patch Set 1 #

Patch Set 2 : Re-enable the test, and make it pass. #

Total comments: 2

Patch Set 3 : Yep, joth was right. Hopefully this works. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M build/android/pylib/gtest/filter/net_unittests_disabled View 1 1 chunk +0 lines, -1 line 0 comments Download
M net/android/cert_verify_result_android_list.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/android/java/src/org/chromium/net/X509Util.java View 1 chunk +1 line, -1 line 0 comments Download
M net/cert/cert_verify_proc_android.cc View 1 chunk +3 lines, -0 lines 1 comment Download
M net/cert/cert_verify_proc_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
palmer
I felt guilty leaving this for ppi to solve. :) Hopefully this CL is not ...
7 years, 8 months ago (2013-04-23 00:09:55 UTC) #1
ppi
This looks great, thanks! Could you also update the native unit test (CertVerifyProcTest.InvalidKeyUsage) and remove ...
7 years, 8 months ago (2013-04-23 14:48:37 UTC) #2
palmer
I am not sure if I doctored the test correctly, but this is what I ...
7 years, 8 months ago (2013-04-23 17:48:52 UTC) #3
ppi
lgtm, thanks!
7 years, 8 months ago (2013-04-23 18:25:31 UTC) #4
joth
I added linux_redux try job - make sure this passes there too. https://codereview.chromium.org/14358023/diff/7001/net/cert/cert_verify_proc_unittest.cc File net/cert/cert_verify_proc_unittest.cc ...
7 years, 8 months ago (2013-04-23 18:27:20 UTC) #5
palmer
https://codereview.chromium.org/14358023/diff/7001/net/cert/cert_verify_proc_unittest.cc File net/cert/cert_verify_proc_unittest.cc (right): https://codereview.chromium.org/14358023/diff/7001/net/cert/cert_verify_proc_unittest.cc#newcode539 net/cert/cert_verify_proc_unittest.cc:539: // the other errors. On 2013/04/23 18:27:21, joth wrote: ...
7 years, 8 months ago (2013-04-23 20:47:41 UTC) #6
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 8 months ago (2013-04-23 22:25:48 UTC) #7
palmer
Hoping for some OWNERS approval: rsleevi for net/OWNERS, yfriedman for net/android/OWNERS. Thanks!
7 years, 8 months ago (2013-04-23 22:29:40 UTC) #8
Yaron
lgtm
7 years, 8 months ago (2013-04-24 00:51:34 UTC) #9
Ryan Sleevi
net/ LGTM https://codereview.chromium.org/14358023/diff/16001/net/cert/cert_verify_proc_android.cc File net/cert/cert_verify_proc_android.cc (right): https://codereview.chromium.org/14358023/diff/16001/net/cert/cert_verify_proc_android.cc#newcode45 net/cert/cert_verify_proc_android.cc:45: verify_result->cert_status |= CERT_STATUS_INVALID; I've confirmed this matches ...
7 years, 8 months ago (2013-04-25 18:36:50 UTC) #10
palmer
On 2013/04/25 18:36:50, Ryan Sleevi wrote: > net/ LGTM > > https://codereview.chromium.org/14358023/diff/16001/net/cert/cert_verify_proc_android.cc > File net/cert/cert_verify_proc_android.cc ...
7 years, 8 months ago (2013-04-25 18:52:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/14358023/16001
7 years, 8 months ago (2013-04-25 18:52:57 UTC) #12
commit-bot: I haz the power
7 years, 8 months ago (2013-04-25 21:29:58 UTC) #13
Message was sent while issue was closed.
Change committed as 196500

Powered by Google App Engine
This is Rietveld 408576698