summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-06-22 19:23:13 -0700
committerTreehugger Robot <treehugger-gerrit@google.com>2016-06-23 21:00:08 +0000
commit765580d3e99d92b4796667a60113492dbee4c469 (patch)
tree75068389c23488f358b83906eb852e44cc24a077 /scripts/update_payload/format_utils.py
parentd6ece534af3b04d618a2d2bedb8e84cf0a95f2c0 (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