summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-11-11 23:45:37 +0100
committerCarl Hetherington <cth@carlh.net>2023-11-11 23:45:37 +0100
commit0f225b6df7a9603678a5bd84f9428ff6fb56aea2 (patch)
tree40e091192a7b36adb7df8654c5e05ce9ef281ae3
parent8a04d3d74cdb756baa399cc7693393285b064c59 (diff)
Move a IMB location to try_imb() and add a new IMS pattern (#2644).
-rw-r--r--src/wx/dolby_doremi_certificate_panel.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wx/dolby_doremi_certificate_panel.cc b/src/wx/dolby_doremi_certificate_panel.cc
index 27d09bbde..d290535c2 100644
--- a/src/wx/dolby_doremi_certificate_panel.cc
+++ b/src/wx/dolby_doremi_certificate_panel.cc
@@ -102,6 +102,11 @@ static void
try_imb(vector<Location>& locations, string prefix, string serial)
{
locations.push_back({
+ String::compose("%1%2xxx/Dolby-IMB-%3.dcicerts.zip", prefix, serial.substr(0, 3), serial),
+ String::compose("Dolby-IMB-%1.cert.sha256.pem", serial)
+ });
+
+ locations.push_back({
String::compose("%1%2xxx/imb-%3.dcicerts.zip", prefix, serial.substr(0, 3), serial),
String::compose("imb-%1.cert.sha256.pem", serial)
});
@@ -112,8 +117,8 @@ static void
try_ims(vector<Location>& locations, string prefix, string serial)
{
locations.push_back({
- String::compose("%1%2xxx/Dolby-IMB-%3.dcicerts.zip", prefix, serial.substr(0, 3), serial),
- String::compose("Dolby-IMB-%1.cert.sha256.pem", serial)
+ String::compose("%1%2xxx/Dolby-IMS2000-%3.dcicerts.zip", prefix, serial.substr(0, 3), serial),
+ String::compose("Dolby-IMS2000-%1.cert.sha256.pem", serial)
});
locations.push_back({