projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50bfe5a
)
Warn about incorrect string encoding in dcpkdm.
author
Carl Hetherington
<cth@carlh.net>
Thu, 14 Mar 2019 19:38:48 +0000
(19:38 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 14 Mar 2019 19:38:48 +0000
(19:38 +0000)
tools/dcpkdm.cc
patch
|
blob
|
history
diff --git
a/tools/dcpkdm.cc
b/tools/dcpkdm.cc
index 6ffabfe73c7159eb77c0f4df50e708d7ed59c492..7104b547d45cb7ca1932361859784d7559ff0378 100644
(file)
--- a/
tools/dcpkdm.cc
+++ b/
tools/dcpkdm.cc
@@
-115,6
+115,9
@@
main (int argc, char* argv[])
cout << "\t\tSubject organizational unit name: " << i.subject_organizational_unit_name() << "\n";
cout << "\t\tNot before: " << tm_to_string(i.not_before()) << "\n";
cout << "\t\tNot after: " << tm_to_string(i.not_after()) << "\n";
+ if (i.has_utf8_strings()) {
+ cout << "\t\tUSES INCORRECT (UTF8) STRING ENCODING\n";
+ }
}
if (private_key_file) {