diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-22 11:47:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-04-22 11:47:52 +0100 |
| commit | 2dfe23c8af897ebfc1cca8b3b9d9fc7a802e736e (patch) | |
| tree | 2a63c69785eb9830bdfdbd529f3ba53ca074bd07 | |
| parent | 5317f5a6f3415aec5d6e99ca7e6fc89d735bc700 (diff) | |
Warn when loading certificates from files that have other stuff after the certificate (#805).
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | cscript | 2 | ||||
| -rw-r--r-- | src/wx/config_dialog.cc | 7 |
3 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2016-04-22 c.hetherington <cth@carlh.net> + * Warn when loading certificates from files that have + other stuff after the certificate (#805). + * Separate left-only and right-only video content in the timeline (#845). @@ -229,7 +229,7 @@ def dependencies(target): ffmpeg_options = {} return (('ffmpeg-cdist', 'f2952f3', ffmpeg_options), - ('libdcp', 'f0a6d7b'), + ('libdcp', 'ed81e7f'), ('libsub', 'b9fb00d')) def configure_options(target): diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc index af4a04e2e..d0c7ffb72 100644 --- a/src/wx/config_dialog.cc +++ b/src/wx/config_dialog.cc @@ -752,6 +752,13 @@ private: if (d->ShowModal() == wxID_OK) { try { dcp::Certificate c (dcp::file_to_string (wx_to_std (d->GetPath ()))); + if (c.extra_data ()) { + message_dialog ( + this, + _("This file contains other certificates (or other data) after its first certificate. " + "Only the first certificate will be used.") + ); + } _chain->add (c); _set (_chain); update_certificate_list (); |
