diff options
author | Chin Huat Ang <chin.huat.ang@intel.com> | 2019-07-25 10:01:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-26 08:41:39 +0100 |
commit | fa1a3f5328d2ee6d96e01f55e7c194a0e09c95da (patch) | |
tree | 0e16712883832cc5e9d30fe0fcf326e2c043b6c6 /scripts/contrib/test_build_time.sh | |
parent | b8cbefb3fdb4b62a8a536c717359fd6314335cb7 (diff) | |
download | poky-fa1a3f5328d2ee6d96e01f55e7c194a0e09c95da.tar.gz |
cve-update-db-native: fix https proxy issues
When https_proxy is set, use proxy opener to open CVE metadata and
database URLs, otherwise fallback to the urllib.request.urlopen.
Also fix a minor issue where the json database which has been gzip
decompressed as byte object should be decoded as utf-8 string as
expected by update_db.
(From OE-Core rev: 95438d52b732bec217301fbfc2fb019bbc3707c8)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/test_build_time.sh')
0 files changed, 0 insertions, 0 deletions