summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-06-22 19:23:13 -0700
committerAlex Deymo <deymo@google.com>2016-06-23 15:10:39 -0700
commit2c0408ba6e00ffa793aa13bf74da8b388184e4d7 (patch)
tree9078569d0d9bfeb9b84981f685d786c7d1e88042 /scripts/update_payload/format_utils_unittest.py
parent18f8e200a043e38a25e95561a5f75882a930dd13 (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. (cherry picked from commit 765580d3e99d92b4796667a60113492dbee4c469) Change-Id: Ic07741b0dcc7fad132cc4a1db4dba402725595df
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions