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

Issue 10188005: testserver: pass options through bytes() before using with binary data. (Closed)

Created:
8 years, 8 months ago by agl
Modified:
8 years, 8 months ago
CC:
chromium-reviews, Ryan Sleevi
Visibility:
Public.

Description

testserver: pass options through bytes() before using with binary data. Previously the arguments to GenerateCertKeyAndOCSP were used in operations with binary data directly. If they were unicode objects then their encoding may not have supported the DER data causing an error. By passing through bytes(), we get a str object and we make it clear that we'll be using this with binary data. BUG=119642 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133704

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M net/tools/testserver/minica.py View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
agl
8 years, 8 months ago (2012-04-23 19:50:22 UTC) #1
Johnny(Jianning) Ding
lgtm. Please change the BUG reference 119642.I believe Android bots now can support the on-demand ...
8 years, 8 months ago (2012-04-24 00:16:36 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/10188005/1
8 years, 8 months ago (2012-04-24 14:37:25 UTC) #3
commit-bot: I haz the power
8 years, 8 months ago (2012-04-24 16:33:43 UTC) #4
Change committed as 133704

Powered by Google App Engine
This is Rietveld 408576698