summaryrefslogtreecommitdiff
path: root/src/pkl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-25 09:41:32 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-25 09:41:32 +0100
commit6ff5bc54fafcb9332609912514c287ac332ab7e5 (patch)
treef1458b2735af96eaa4352601762337c2e1812ef4 /src/pkl.h
parentdf56c3975454d935b8457d8a8bc1615388db305c (diff)
Cope with multiple PKLs in a DCP.
Diffstat (limited to 'src/pkl.h')
-rw-r--r--src/pkl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkl.h b/src/pkl.h
index aa78ae21..bc71279e 100644
--- a/src/pkl.h
+++ b/src/pkl.h
@@ -60,8 +60,8 @@ public:
return _standard;
}
- std::string hash (std::string id) const;
- std::string type (std::string id) const;
+ boost::optional<std::string> hash (std::string id) const;
+ boost::optional<std::string> type (std::string id) const;
void add_asset (std::string id, boost::optional<std::string> annotation_text, std::string hash, int64_t size, std::string type);
void write (boost::filesystem::path file, boost::shared_ptr<const CertificateChain> signer) const;