summaryrefslogtreecommitdiff
path: root/src/wx/christie_certificate_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-14 20:35:32 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-14 20:35:32 +0200
commit2c844e57ed5c54e65a2b4484f02907122a03361e (patch)
tree5b23c93ab8c2a57e0d85564af3dcb70e9a1d18b6 /src/wx/christie_certificate_panel.cc
parent8c7ad603cf0a534abe1a920b70b0daa095257d3a (diff)
Christie FTP contains certificate chains, not just leaf certificates.
Diffstat (limited to 'src/wx/christie_certificate_panel.cc')
-rw-r--r--src/wx/christie_certificate_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/christie_certificate_panel.cc b/src/wx/christie_certificate_panel.cc
index 0795b09e9..15074cdb6 100644
--- a/src/wx/christie_certificate_panel.cc
+++ b/src/wx/christie_certificate_panel.cc
@@ -60,13 +60,13 @@ ChristieCertificatePanel::do_download ()
optional<string> all_errors;
- optional<string> error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load, this, _1));
+ optional<string> error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate_from_chain, this, _1));
if (error) {
all_errors = *error;
string const url = String::compose ("%1IMB-S2/IMB-S2_%2_sha256.pem", prefix, serial);
- error = get_from_url (url, true, false, boost::bind (&DownloadCertificatePanel::load, this, _1));
+ error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate_from_chain, this, _1));
if (error) {
*all_errors += "\n" + *error;
}