projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2356c4b
)
Remove assumption that GDC serials always start with 'A' (apparently there are other...
author
Carl Hetherington
<cth@carlh.net>
Sat, 25 Nov 2023 10:49:39 +0000
(11:49 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 26 Nov 2023 10:34:31 +0000
(11:34 +0100)
src/wx/gdc_certificate_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/gdc_certificate_panel.cc
b/src/wx/gdc_certificate_panel.cc
index d78b1b56dfd2397bda51331cda5c7e0c0e43c938..89aa3f44a4bded2d3455ecb33e721900b497a0ca 100644
(file)
--- a/
src/wx/gdc_certificate_panel.cc
+++ b/
src/wx/gdc_certificate_panel.cc
@@
-56,12
+56,8
@@
GDCCertificatePanel::do_download ()
{
string serial = wx_to_std (_serial->GetValue());
trim(serial);
- if (!serial.empty() && serial[0] == 'A') {
- /* We're adding the A ourselves */
- serial = serial.substr(1);
- }
string url = String::compose(
- "ftp://%1:%2@ftp.gdc-tech.com/SHA256/
A
%3.crt.pem",
+ "ftp://%1:%2@ftp.gdc-tech.com/SHA256/%3.crt.pem",
Config::instance()->gdc_username().get(),
Config::instance()->gdc_password().get(),
serial