projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix font_id_map errors when importing DCP subtitles that have no
[dcpomatic.git]
/
src
/
lib
/
trusted_device.cc
diff --git
a/src/lib/trusted_device.cc
b/src/lib/trusted_device.cc
index 5849b8fd22f7d400e1336fa695f823403a119743..8bfbc34f066e18abf32eb3a7e8a10fef55eb4087 100644
(file)
--- a/
src/lib/trusted_device.cc
+++ b/
src/lib/trusted_device.cc
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2013-20
16
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-20
21
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,22
+18,27
@@
*/
*/
+
#include "trusted_device.h"
#include "trusted_device.h"
+
using std::string;
using std::string;
+
TrustedDevice::TrustedDevice (string thumbprint)
: _thumbprint (thumbprint)
{
}
TrustedDevice::TrustedDevice (string thumbprint)
: _thumbprint (thumbprint)
{
}
+
TrustedDevice::TrustedDevice (dcp::Certificate certificate)
: _certificate (certificate)
{
}
TrustedDevice::TrustedDevice (dcp::Certificate certificate)
: _certificate (certificate)
{
}
+
string
TrustedDevice::as_string () const
{
string
TrustedDevice::as_string () const
{
@@
-44,6
+49,7
@@
TrustedDevice::as_string () const
return *_thumbprint;
}
return *_thumbprint;
}
+
string
TrustedDevice::thumbprint () const
{
string
TrustedDevice::thumbprint () const
{