Descriptiontestserver: 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 #
Messages
Total messages: 4 (0 generated)
|