diff options
| author | Alex Deymo <deymo@google.com> | 2016-06-22 19:23:13 -0700 |
|---|---|---|
| committer | Treehugger Robot <treehugger-gerrit@google.com> | 2016-06-23 21:00:08 +0000 |
| commit | 765580d3e99d92b4796667a60113492dbee4c469 (patch) | |
| tree | 75068389c23488f358b83906eb852e44cc24a077 /scripts/update_payload/format_utils.py | |
| parent | d6ece534af3b04d618a2d2bedb8e84cf0a95f2c0 (diff) | |
Initialize the CertificateChecker on Android.
The CertificateChecker singleton is a class that keeps track of the
SSL certificates seen for the download and updatecheck servers. In
Android devices, we use the download server only, but the class was not
initialized leading to CURLE_FAILED_INIT failure and a log message,
except that DLOG messages are not shown on "release" builds and
therefore the message was lost.
This patch initializes the certificate checker class, allowing
update_engine to download HTTPS files.
Bug: 29585834
TEST=Tested on a device that update_engine can download a payload
directly from an https:// URL.
Change-Id: I70ec15aea620802bb52ca8405b9444d5b88d0288
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions
