Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
[dcpomatic.git] / src / wx / gdc_certificate_panel.cc
index b4352dff4ef70c1c6d559b32017a435967aeac48..a90f098f51b8e16874d9255cfd70a8763e2fbdf3 100644 (file)
@@ -45,10 +45,10 @@ GDCCertificatePanel::do_download ()
        }
 
        string const url = String::compose(
-               "ftp://%1:%2@ftp.gdc-tech.com/SHA256/A%3",
+               "ftp://%1:%2@ftp.gdc-tech.com/SHA256/A%3.crt.pem",
                Config::instance()->gdc_username().get(),
                Config::instance()->gdc_password().get(),
-               serial
+               wx_to_std(_serial->GetValue())
                );
 
        optional<string> error = get_from_url (url, true, boost::bind (&DownloadCertificatePanel::load, this, _1));